#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default last row

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

where the range spans several columns of data?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default 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?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"