G
Guest
I've run this many times with no errors. Yet now i'm getting a type mismatch
error. Could it be because I've already run this once in this particular
document? Or is it something else. I added a colum to the worksheet, as
well as a lookup table. Would the lookup table be screwing me up? I've
valued my results so there should be no formulas left. Any help would be
appreciated!
Jennifer
Sub ordinate()
Dim r As Range
For Each r In ActiveSheet.UsedRange
If LCase(r.Value) Like "*total*" Then
r.EntireRow.Interior.ColorIndex = 36
End If
Next
End Sub
error. Could it be because I've already run this once in this particular
document? Or is it something else. I added a colum to the worksheet, as
well as a lookup table. Would the lookup table be screwing me up? I've
valued my results so there should be no formulas left. Any help would be
appreciated!
Jennifer
Sub ordinate()
Dim r As Range
For Each r In ActiveSheet.UsedRange
If LCase(r.Value) Like "*total*" Then
r.EntireRow.Interior.ColorIndex = 36
End If
Next
End Sub