parkerbelt
Active Member
- Joined
- May 23, 2014
- Messages
- 377
The error happens at this line:
lastrow = Cells(Rows.Count, "B").End(xlUp).Row
I suspect that it is happening because my data has 97000 something rows which is over the 65000 whatever rows that the old excel used to have.
Is there a different line of code that I should be using to find the last row in a column?
lastrow = Cells(Rows.Count, "B").End(xlUp).Row
I suspect that it is happening because my data has 97000 something rows which is over the 65000 whatever rows that the old excel used to have.
Is there a different line of code that I should be using to find the last row in a column?