Hi!
I’ve got the following code that I’ve used for another worksheet that I’d like to adapt to a new worksheet… instead of having the code below search column A for data that contains an “S”, I’d like to search column A and look for items that “contain” the abbreviations Mon, Tues, Wed, Thur, Fri, TOT, ACCT and if it does then I’d like to DELETE the entire COLUMN (as opposed to clearing the contents). As usual, any help with tweaking the code below would be greatly appreciated.
Thanks!!
Lana
‘Delete blank and unwanted rows from the data
With Worksheets(“Data”)
For lngRow = 1 To .Range(“A65536”).End(xlUp).Row
If UCase(.Range(“A” & lngRow)) = “S” Then
.Range(“T” & lngRow & “:AB” & lngRow).ClearContents
End If
Next lngRow
End With