Hello guys,
This is my sheet, I try to define the table1 range, what I dont understand is FoundCell.Select returns 1 row only. How come my lRow after subtrating FoundCell.Row is 2, which is supposed to be 3 ?

This is my sheet, I try to define the table1 range, what I dont understand is FoundCell.Select returns 1 row only. How come my lRow after subtrating FoundCell.Row is 2, which is supposed to be 3 ?

Code:
With Sheet1
Set FoundCell = .Cells.Find("ID").Offset(1, 0)
FoundCell.Select
lRow = .Cells(.Rows.Count, FoundCell.Column).End(xlUp).Row - FoundCell.Row
Set Table1 = FoundCell.Resize(lRow, 2)
Table1.Select
End With
Last edited by a moderator: