ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last used cell (https://www.excelbanter.com/excel-programming/293892-re-last-used-cell.html)

Geoff Kelly

Last used cell
 
I suggest using worksheet.usedrange.columns.count and usedrange.rows.count
You can then use worksheet.cells to refer to it.
Geoff
"Hawk" wrote in message
...
How do I find the last non-empty cell on a worksheet?





All times are GMT +1. The time now is 04:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com