pliskers
Active Member
- Joined
- Sep 26, 2002
- Messages
- 461
- Office Version
- 2016
- Platform
- Windows
I have two data validation dropdown objects that are interdependent (Region and Market). They are linked to a dynamic list on a separate tab, so that when the Region is selected in Dropdown A, the list of available Markets in dropdown B displays only the correct options.
However, the way it currently works, if a selection has previously been made of a Region and Market, when the Region dropdown is changed, the Market selection remains unchanged, which presents a mismatch of Region-Market.
I would like to attach some code to the sheet so that when the Region dropdown is changed, the previously selected Market dropdown item is cleared out and replaced by "", which is included in my data validation list range.
Hope this is clear, and any help would be appreciated. I assume it's some type of Worksheet Change Event code, but am not clear on the most efficient way to code it.
Thank you!
However, the way it currently works, if a selection has previously been made of a Region and Market, when the Region dropdown is changed, the Market selection remains unchanged, which presents a mismatch of Region-Market.
I would like to attach some code to the sheet so that when the Region dropdown is changed, the previously selected Market dropdown item is cleared out and replaced by "", which is included in my data validation list range.
Hope this is clear, and any help would be appreciated. I assume it's some type of Worksheet Change Event code, but am not clear on the most efficient way to code it.
Thank you!