I have a table that ranges from "A:EV".
I want to find the last row of only range "A:DD".
The columns might have blank cells, so I need to go through all and find the furthest row of columns A to DD.
How can I code it?
I have a table that ranges from "A:EV".
I want to find the last row of only range "A:DD".
The columns might have blank cells, so I need to go through all and find the furthest row of columns A to DD.
How can I code it?
And with a little voodoo, if you are interested in also getting the column where the last row was found but don't want to extract it from .Address, use this.
Modified from HERE
And to adjust the range a bit, change the two column letters in these two lines.
This one searches over columns A:DD.
This version narrows the search range to Y:DD