IF... change colour
Hi Robert
why don't you sue conditional formating?
but you may try the following
Dim rng as range
Dim cell as range
set rng = Range("P:P")
for each cell in rng
if cell.value = True then
cell.interior.colorindex=3
end if
next
--
Regards
Frank Kabel
Frankfurt, Germany
Robert Couchman wrote:
Hello all, and good morning!
im celebrating today cause its my Birthday!
anyway, could anyone please help?
i want to search through column "P" and if the value
is "TRUE" i would like to change the colour of the row,
i have the following so far
With ????? .Interior
.ColorIndex = 44
.Pattern = xlSolid
End With
please help.
Thank you,
Robert Couchman
)
|