Hi all,
I know how to search a range for a specific string and then format (fill colour, font, align etc) cells that have the string, but is it possible to use a 'reference' cell?
So for example, the code searches the range for the string contained in the reference cell and where it finds it, uses the reference cells formatting (colour etc not time/date/currency format).
I figured this method would be more 'user friendly' for any changes - so if the string changes it still works (as long as the string still crops up in the target range) and any formatting can be altered simply by changing the reference cell rather than mucking about in VBA.
I know how to search a range for a specific string and then format (fill colour, font, align etc) cells that have the string, but is it possible to use a 'reference' cell?
So for example, the code searches the range for the string contained in the reference cell and where it finds it, uses the reference cells formatting (colour etc not time/date/currency format).
I figured this method would be more 'user friendly' for any changes - so if the string changes it still works (as long as the string still crops up in the target range) and any formatting can be altered simply by changing the reference cell rather than mucking about in VBA.