Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() There is a property usedrange in excel try: msgbox Sheet1.UsedRange.Address and a messagebox will return for example $B$4:$G$16 "Fritz Hilgemann" wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determine what sheets are linked to sheet A | Links and Linking in Excel | |||
Determine which button was clicked on a sheet | Excel Programming | |||
determine if sheet contains mergearea(s) | Excel Programming | |||
How to determine an opened sheet( Read Only) | Excel Programming | |||
determine what sheet user is viewing | Excel Programming |