ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   last row (https://www.excelbanter.com/excel-programming/301075-last-row.html)

larry

last row
 
is it possible to get the last row of a range,

where the range spans several columns of data?

Don Guillett[_4_]

last row
 
try
lastrow = Sheets("Sheet12").Cells.Find("*", searchdirection:=xlPrevious).Row
MsgBox lastrow

--
Don Guillett
SalesAid Software

"larry" wrote in message
...
is it possible to get the last row of a range,

where the range spans several columns of data?





All times are GMT +1. The time now is 10:56 AM.

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