verdugan
Computer
- Apr 10, 2007
- 3
Hello. First time poster here. I searched, but couldn't find the answer.
I am looping through a range of cells, and I want to turn the empty cells red. However, I want to ignore hidden cells. I have figured out everything except the ignoring the hidden cells part. I get "Unabele to get the Hidden propety of the Range class."
My code is:
For Each c In Range("C3:K" & rowLimit).Cells
If (IsEmpty(c.Value)) AND (c.Hidden = FALSE)Then
c.Interior.ColorIndex = 3
End If
End If
Next
Any help is much appreciated. Thanks in advance.
Angel
I am looping through a range of cells, and I want to turn the empty cells red. However, I want to ignore hidden cells. I have figured out everything except the ignoring the hidden cells part. I get "Unabele to get the Hidden propety of the Range class."
My code is:
For Each c In Range("C3:K" & rowLimit).Cells
If (IsEmpty(c.Value)) AND (c.Hidden = FALSE)Then
c.Interior.ColorIndex = 3
End If
End If
Next
Any help is much appreciated. Thanks in advance.
Angel