MortenA
Chemical
- Aug 20, 2001
- 2,998
If you have a collumn where there exists an unknown number of "blanks" short of stepping through each row is there a smart way of finding the last cell with data?
Selection.End(xlDown).Activate
will find the "next" empty cell but if you dont know if thats the "last" blank?
In my case there will only be one blank - but still just testing the next cell seems a bit too "easy" and is not fool proof - if there could be two blanks and the more data.
Best regards
Morten
Selection.End(xlDown).Activate
will find the "next" empty cell but if you dont know if thats the "last" blank?
In my case there will only be one blank - but still just testing the next cell seems a bit too "easy" and is not fool proof - if there could be two blanks and the more data.
Best regards
Morten