The following code works, albeit slowly. Any tips on speeding it up? I'm guessing there must be a way to establish a smaller, discontiguous range that only includes cells that contain data and/or have been formatted.
[vba]Sub ColorLoop()
Dim cel As Range
Dim myWorksheet As Range
Set myWorksheet = Range("A1:IV65536")
For Each cel In myWorksheet
If cel.Font.ColorIndex = 5 Then
cel.Interior.ColorIndex = 36
End If
Next cel
End Sub
[/vba]