MS Office - Load dropdown from Excel's range
In this article, we'll see how, very easily, we can load an Excel range into a ribbon and display it inside a dropdown.
The idea is to provide a list of values in a ribbon but to not have to hardcode values in the list but, just, to link to a range, anywhere in your workbook.
I've used this technique in many of my Excel application's (i.e. Excel having VBA code).
For this blog post, we'll create a list of periods (YYYYMM) in a worksheet and load that list in our custom ribbon.
In this way, we could offer a nicer user experience by proposing a list and executing, for example, a query to a database to obtain the data for this period (or anything else).