My first column is an index, with monotonously increasing numbers, which ends at a non predictable point.
Now I want to find out, how many entries this column has. Is there a better way than iterating throug this and watch out for an empty cell?
My first column is an index, with monotonously increasing numbers, which ends at a
Share
One way is to: (Assumes index column begins at A1)
Which is looking for the 1st unoccupied cell downwards from A1 and showing you its ordinal row number.
You can select the next empty cell with:
If you need the end of a dataset (including blanks), try: Range(“A:A”).SpecialCells(xlLastCell).Row