I have a rather large financial model that relies on a substantial number of scenarios across multiple worksheets. My goal is to bypass the actual use of the Scenario Manager and control scenario selections from dropdown in several dashboards. I'm new to VBA, however, I've successfully written the code to trigger scenarios from multiple worksheets from drop-downs in a single dashboard. The problem is that the drop-down are driven by tables in which I have to manually maintain once I've created a new scenario. What I'd like to do is programmatically populate the drop-downs by reading the scenarios for a given worksheet with VBA code. That way, I only have to create the scenario(s) and then the dashboard drop-downs will automatically populate with the worksheets scenarios. I've scoured the forums and Microsoft's VBA information and have not found a way to accomplish this.
My drop-downs are currently using a Data Validation lists tied to a dynamic list going against the manually populated tables. When the value in the drop down changes, my code reads the value of the drop down into a variable and then uses the Worksheet.Scenarios.Show method to trigger the scenario.
Bookmarks