2 dimensional arrays and combo boxes

heygmiller

New Member
Joined
Aug 30, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I have 2, 2 dimensional arrays. One called project, one called scenario. Each of these 2 dimensional arrays has a description column and a mnemonic (unique identifier) column.

for example,

project(0,0) = Oil Price Shock project(0,1) = obj(0).title
scenario(0,0) = US Baseline Forecast scenario(0,1) = obj(0).scenarios(0).title

I'd like to have 2 dropdowns. One to select my project, and a second to select one of the scenarios that is available through the project selected. My hope is to be able to map the scenarios to the correct project based upon the mnemonic column in my arrays.

Any idea as to how I'd go about doing this? Been googling for hours with no luck. I'm stuck.

Appreciate any guidance and wisdom. Cheers.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
you will need at least one more column (Project) in your second array - to be able to filter when a project is selected
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top