You can use conditional formatting to do this rather than a macro.
The macro would be something along the lines of
Sub Macro1()
'
'
For a = 1 To 100
locatione = "c" & a
data = Range(locatione).Value
If data = "x" Then
locatione = a & ":" & a
Rows(locatione).Select
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
End If
Next
End Sub
This message was edited by bobeuk on 2002-03-05 10:02