Changing Colours on Worksheet
Jahson,
Select al of the cells to be checked (it doesn't have to be just the
coloured cell;s), and run this code
Dim cell As Range
For Each cell In Selection
With cell.Interior
If .ColorIndex = 6 Then
.ColorIndex = 5
End If
End With
Next cell
note that this will not work for conditionally formatted cells.
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Jahson" wrote in message
...
Hi
I have a worksheet which is colour coded, Is it possible
to change all cells that are highlighter say yellow to
blue?
Thanks
|