I am looking for a way to delete all cells and all content from a specific row on to the end of the sheet... Does anyone knoe how to accomplish this? I appreciate any hint....
(This loop cycles through all rows of a certain sheet and is looking for the string "delete ever.....". locPort is a range that just points to a specific cell in the sheet header...)
For intRemoveCounter = locPort.row + 3 To locPort.Cells(65000, locPort.Column).End(xlUp).row
If InStr(1, Nz(rng.Cells(intRow, locRoom.Column), "", "delete everything from here" > 0 Then
.....DELETE COMMAND (something with .entirerow? ??)
Exit For
End If
Next intRemoveCounter
Thanks in advance
waldemar
(This loop cycles through all rows of a certain sheet and is looking for the string "delete ever.....". locPort is a range that just points to a specific cell in the sheet header...)
For intRemoveCounter = locPort.row + 3 To locPort.Cells(65000, locPort.Column).End(xlUp).row
If InStr(1, Nz(rng.Cells(intRow, locRoom.Column), "", "delete everything from here" > 0 Then
.....DELETE COMMAND (something with .entirerow? ??)
Exit For
End If
Next intRemoveCounter
Thanks in advance
waldemar