Hi I am after some VBA code which might make life easier for myself and a few colleagues!
I have an excel spreadsheet which has text in column A (Description). In the text in this column I wish to search for several keywords which are listed in column E (Keywords). When the macrco finds a keyword in column A it should change the font of the found word to red. A word repeated should be changed twice. Example below
Thanks for your assistance
Description | Keywords | |||
Mary had a little lamb | Mary | |||
When in Rome do as the Romans do | Rain | |||
Mary Mary quite contrary | rain | |||
The rain in Spain falls mainly on the plain | ||||
This little pig when to market | ||||
Rain rain go away |
Hi,
Please test the atached file. You can enter new strings in column A and add more keywords in column E.
Clark
Hi Clark, Thanks for this. It worked really well.
Hi Clark,
Thank you for your help! It works very well and I am very grateful for that. Can you show me how to do it?