How can I select the data after the blank row occurrence?
I don't know the code, I just want to show in the image what I want to achieve.
The situation is opposite to the following query:
How can I select the data after the blank row occurrence?
I don't know the code, I just want to show in the image what I want to achieve.
The situation is opposite to the following query:
This will only select the cells found BETWEEN the first instance of blanks and the last instance. If you need to change that the modify the line Set Target_End
Sub Try()
Dim ws As Worksheet: Set ws = ThisWorkbook.Sheets("Sheet1")
Dim Target_Start As Range, Target_End As Range
Set Target_Start = ws.Cells.Find("", SearchOrder:=xlByColumns).Offset(1)
Set Target_End = Target_Start.End(xlDown).End(xlToRight)
ws.Range(Target_Start, Target_End).Select
End Sub