phonesdontfly
New Member
- Joined
- Mar 2, 2016
- Messages
- 16
Hi!
I would like to have a macro that I can "toggle" on and off that will highlight all cells that have a user-inputted word.
For instance, if the user inputs Available", then I would like all the cells that contain the word "Available" to highlight yellow. If I run the macro again, I would like them to unhighlight.
I've tried conditional formatting, but that doesn't support the toggle function- it just recreates the same rule over and over with each run of the macro.
Thanks!
I would like to have a macro that I can "toggle" on and off that will highlight all cells that have a user-inputted word.
For instance, if the user inputs Available", then I would like all the cells that contain the word "Available" to highlight yellow. If I run the macro again, I would like them to unhighlight.
I've tried conditional formatting, but that doesn't support the toggle function- it just recreates the same rule over and over with each run of the macro.
Thanks!