Is there a function that will run a macro every time a bit of information is updated?
For example, if I had a data validation list with Chevy, Toyota, and Mozda set in A1 and I have a macro called Macro1 that will hide row 11, Macro 2 that will hide row 12, and Macro3 that will hide row 13, is there any way to set up a function so that if A1 = "Chevy", run Macro1, if A1 = "Toyota", run Macro2, and if A1 = "Mozda", run Macro3?
Part 2 if this question:
If the above function is possible, can I use an If statement or some other sort of function so it is set up to unhide a row if the returned value is false? Aka, A1 = Chevy, so it runs Macro 1 to hide Row 11, and runs Macro 4 and 5 to unhide rows 12 and 13. Then if A1 is changed to = Toyota, it runs Macro 2 to hit Row 12, and runs Macro 4 and 6 to unhide rows 11 and 13, etc.
Thanks for your time and response!
Bookmarks