I am working on an import macro procedure where multiple external files are opened, a set range is copied, then the data is pasted to a master sheet.
I was using .End(xlUp) to find the last used cell in column E to paste the next lot of data, but I notice it is thrown off if the master sheet is filtered and it returns the last used visible row.
What is the best way to find the absolute last used row even when a sheet is in a filtered state?
For example, if my sheet has 500 used rows, but a filter is in place and only 100 of them are showing, I still want the macro to be able to find that the last row is 500.
Bookmarks