L
Legacy 93538
Guest
Hi
Does anyone know how to write an if statement which checks the colour of a cell range?
I ahve a loop which loops through a cell range but its not checking the right colour. I know RGA codes for the colour i want it to check but i am not sure how to use RGA in this loop.
Can anyone help me?
Thanks
Jessicaseymour
Does anyone know how to write an if statement which checks the colour of a cell range?
I ahve a loop which loops through a cell range but its not checking the right colour. I know RGA codes for the colour i want it to check but i am not sure how to use RGA in this loop.
Code:
If Selection.Interior.Color = 65535 Then
Sheets("Input_Reference_Table").Cells(Nrow, 14).Value = "True"
Else: Sheets("Input_Reference_Table").Cells(Nrow, 14).Value = "False"
End If
Can anyone help me?
Thanks
Jessicaseymour