Hello All,
Im using the following code to delete rows from a spreadsheet;
Sub DeleteCells()
'Loop through cells A1:A10 and delete cells that contain an "x."
For Each c In Range("A1:A8341"
If c = "Client Total" Then c.EntireRow.Delete
Next
End Sub
Can anyone give me any ideas on how I can put INPUT boxs in so I can change the range and what I am searching for to delete?
Cheers,
Wray
Im using the following code to delete rows from a spreadsheet;
Sub DeleteCells()
'Loop through cells A1:A10 and delete cells that contain an "x."
For Each c In Range("A1:A8341"
If c = "Client Total" Then c.EntireRow.Delete
Next
End Sub
Can anyone give me any ideas on how I can put INPUT boxs in so I can change the range and what I am searching for to delete?
Cheers,
Wray