View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Peter Ostermann[_3_] Peter Ostermann[_3_] is offline
external usenet poster
 
Posts: 37
Default Last row is empty

Hi NG,

Last_Row = Sheets("Data").Cells.SpecialCells(xlCellTypeLastCe ll).Row

sometimes result points to an empty row below the last data-filled row.
Any hints what can be the cause? Which formula gives the correct result
if the last data-filled row is searched for (avoiding a loop to that point).
Thanks in advance.

Regards
Peter Ostermann