VBA code to reset dependent dropdown

Donutderek

New Member
Joined
Jun 19, 2019
Messages
25
Hello,

I've got a workbook I've been working on with primary drop-downs located in col G, cells 13, 14, 15,(merged cell with H&I), my dependent drop-down is in C of the same rows. (Merged cell with D). Despite trying codes copied from forums here and adjusting the locations to my situation, I can't seem to get it to work when I test it. I'm trying to get the dependent drop to reset when my primary value has been changed. Nothing I've tried seems to work.
 
You're welcome & thanks for the feedback
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Just when I think I'm wrapping my head around this, I'm at a loss again here.
Using VLOOKUP, is it possible to have it search multiple variables (locations) of data for the proper coinciding data to autofill? For example, I got it to work for just one of my dropdown selections, but the formula only allows me to put in one reference point. If say, dropdown value A is selected, my VLOOKUP will go to "x" sheet and plug in the appropriate data. If dropdown value B is selected it won't search another sheet.
Is there an ( ) SUBSTITUTE/IF/INDEX formula to add to VLOOKUP that will let me tell it to choose another area based on the selection?
 
Upvote 0
As this is a totally different question, you will need to start a new thread.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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