Hi,
I am new to excel macros. I want if cell in column C is highlighted green ( RGB 194,214,154) then value of corresponding cell in Column F to same as value of Cell in Column A. My macro is as follows:
Sub CollorFill()
IF Range.("C1:C3000").Interior.Color = RGB(194, 214,154) Then
Range.("F1:F3000").Value = Range.("A1:A3000").Value
End IF
End Sub
But it doesn't work. I tried step in and after reaching If statement , it jumps to End If.
I am not sure what I am doing wrong.
Please help
Bookmarks