I have a sub like this:
Sub deleteExcessData(selectSheet As String, selectRow As Integer)
'selectSheet = go to a certain sheet
'selectRow = go to a certain row
End Sub
What I want to do with this is select a row to start, then select all the non-blank rows below that row all the way to the bottom, then delete that selection. (this can include the row or not include that row)
I only want to use 2 variables in this sub, one is to select the sheets and on is used to select the anchor row. Data is contiguous.
What if there are some random blank cells in the data?
Any suggestion?
selectRow As IntegertoselectRow As Long.