VBA Conditional formating for specific text in several columns

J

johan

Hello,

Is there a VBA code to select several columns and the set several
mentioned text in another color.
For example;
I've got the columns A till Z and a lot of cells are filled with
various text.
I want to format only the written text "aaa" and "bbb" and "ccc" and
"ddd" to the color red.
Al other text in the same cell should keep their original color.
If possible, is there a maximum in columns or rows ? I want to do use
this code for perhaps 40 different text.

regards,
Johan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top