Murray Brown
asked on
Excel VBA Format all cells with same value in a column yellow fill
Hi
What Excel VBA code would I use to find and format all cells in column B
with the same value (e.g. xyz) with a background fill colour of yellow
What Excel VBA code would I use to find and format all cells in column B
with the same value (e.g. xyz) with a background fill colour of yellow
ASKER
Hi. Does that format just column B
Yes it should
line 11
Range("B:B"). etc.
line 11
Range("B:B"). etc.
ASKER
Hi. It looks like that line just replaces values not formats in the column, or am I missing something
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great thanks. No conditional formatting
pls try
Open in new window
Regards