View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Fritz Hilgemann Fritz Hilgemann is offline
external usenet poster
 
Posts: 8
Default Determine sheet dimensions

Hello NG,
I rarely use Excel programming which doesn't mak me an expert. So I hope to
find an answer on this:
From a single sheet, I want to determine it's used dimension, that the last
non-empty row (over all columns) and the last non-empty column (over all
rows). The sheet, though, may have empty cells, rows or columns in between.
I do not want to iterate and test 16 Mio. cells separately, I am hoping on a
method or attribute I have overlooked or a tricky algorithm.
Regards
Fritz