I am working on a "SUPER RUSH--GET IT DONE LAST WEEK" project that requires a dynamic range of rows. There are dependent data validation drop down lists involved. I want to be able to clear cells when one of the drop down values changes.
For example: User originally chose "Apples" from drop down list in Column E, then "Granny Smith" from drop down list in Column F, but wants to make it "Oranges", and "Valencia", or perhaps just clear that row and not make any more choices at this time.
Based on their choice of Granny Smith Apples, a price populates automatically in Column G using INDEX MATCH MATCH formula. When the user changes their mind, I want to clear Column E and F, thereby clearing Column G automatically (but NOT clear the formula!). The user could clear Column E by deleting contents in Column E, or just making another choice.
I have found code online that works for a static range, but only if user makes an alternate choice. I need to make it a dynamic range (not just "E22:E32"), AND/OR clear contents if user deletes previous contents.
I have not worked with vba for many years, so I am really having problems with something that should be relatively simple. Any help would be VERY APPRECIATED!!!!
Bookmarks