View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
elachowitz elachowitz is offline
external usenet poster
 
Posts: 6
Default Finding the last row of a contiguous range

Oh yes there is...

Dim LastRow as Long

LastRow = yourSheetName.Cells.Find(What:="*", After:=[A1],
SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row

....Its my favorite... Enjoy!


On 4 Oct 2006 09:01:31 -0700, "RalphH" wrote:

Is there a better way of finding the last row of a contiguous range
than:

Selection.End(xlDown).Select