View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_7_] Bob Phillips[_7_] is offline
external usenet poster
 
Posts: 1,120
Default Better way of finding last row on sheet


"Andibevan" wrote in message
...
Hi,

Can anyone improve on this formula to find the last row of a sheet:-

Sheet1.Range("A65536").End(xlUp).Row

This keeps finding row 26 as the last row when I only have 3 rows of data.


I very much doubt it, this technique doesn't suffer the last used cell
problem that say Ctlr-End suffers. You must have something in A26. Try
?LEN(Range("A26")) in the immediate window