Ok here's a real puzzle.
I need to format cells in column K based on the letter in Column N.
There are only 3 conditions, but it might be made in to 4 or more later (!).
So conditional formatting is only a short term fix...
HOWEVER
When I copy and paste part of the sheet to another sheet I can copy formats but NOT the conditional format as the reference cell is left behind.
So I need a macro which will look basically do:
if N1 = "G" Set K1 Font.ColorIndex = 4
if N1 = "A" Set K1 Font.ColorIndex = 44
if N1 = "R" Set K1 Font.ColorIndex = 3
Else black
And scroll through the different values N1/K1 down to bottom of sheet/last used.
Any ideas? Tried a LOT of code!
Thanks.
Hi Also,
|
Thanks.
|