willie108
asked on
select a set of data in a column
Hi folks. I want to select a range of cells that are in a column. I remember that there is a good way to do this in such a way that if there are some missing data in some cells, that I can still capture the whole set of data. What I have would not do that. Can someone tell me a good way?
Range("A1").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. So would this be the recommended way to get to the cell just below that?
Range("A1").Select
Range("A1", "A" & Range("A" & Rows.Count).End(xlUp).Row).Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Open in new window