Hi All,
I'm trying to shade a selected range in this way:
if it's "R", color=red
if it's "O", color=orange
if it's "P", color=purple
if it contains "Y", color=yellow
if it contains "G", color=green
for example, if a cell is "G.1/31/2009", I would like it to be shaded in green.
Here is a code I'm trying to use, but I am new to VBA and has no idea how to search "Y" or "G" and shade them. Could anyone help me on this? Many thanks in advance.
Please Login or Register to view this content.
Bookmarks