I would like to find cells that contains the string PO (capital letters) on a worksheet and then highlight those cells in a specific color with a macro to be added to the ribbon.
It should not highlight cells where the string is part of a word, e.g. CORPORATE. The most likely strings would be:
POxxx
PO xxxxxxx
PO# xxxxx
PO#xxxx
(With x being numbers)
The string could be at the start or the middle of cells.
Any help on what the best syntax is to find these strings that would ignore the unwanted strings?
Thanks in advance.
It should not highlight cells where the string is part of a word, e.g. CORPORATE. The most likely strings would be:
POxxx
PO xxxxxxx
PO# xxxxx
PO#xxxx
(With x being numbers)
The string could be at the start or the middle of cells.
Any help on what the best syntax is to find these strings that would ignore the unwanted strings?
Thanks in advance.