Sub Find_scr_StrikethroughIt()
Dim SCR As Range
With Columns("G")
.Replace "scr", "=scr", xlWhole
Set SCR = .SpecialCells(xlCellTypeFormulas)
.Replace "=", "", xlPart
End With
SCR.EntireRow.Font.Strikethrough = True
End Sub
This code places a strikethrough in the text of all corresponding rows when a 'scr' is in column G
How do I adjust it to clear the contents of the entire row (instead of strikethrough)
Thanks in advance.
Dim SCR As Range
With Columns("G")
.Replace "scr", "=scr", xlWhole
Set SCR = .SpecialCells(xlCellTypeFormulas)
.Replace "=", "", xlPart
End With
SCR.EntireRow.Font.Strikethrough = True
End Sub
This code places a strikethrough in the text of all corresponding rows when a 'scr' is in column G
How do I adjust it to clear the contents of the entire row (instead of strikethrough)
Thanks in advance.