i need to change this macro to instead of delete row, change the color of the entire row, highlight it or something.
Sub DeleteRows()
Dim c As Range
Dim SrchRng As Range
Dim SrchStr As String
Set SrchRng = ActiveSheet.Range("A1", ActiveSheet.Range("A65536").End(xlUp))
SrchStr = InputBox("Please Enter A Search String")
Do
Set c = SrchRng.Find(SrchStr, LookIn:=xlValues)
If Not c Is Nothing Then c.EntireRow.Delete
Loop While Not c Is Nothing
End Sub
2007-10-18
03:14:58
·
5 answers
·
asked by
Leosphere
2
in
Computers & Internet
➔ Programming & Design