Hi,
I am using this in a small macro -
The trouble is it isn't selecting all of the column because there are some blank cells with in it. Is there a way around this?![]()
Range(Selection, Selection.End(xlDown)).Select
Regards
Tim.
Hi,
I am using this in a small macro -
The trouble is it isn't selecting all of the column because there are some blank cells with in it. Is there a way around this?![]()
Range(Selection, Selection.End(xlDown)).Select
Regards
Tim.
Last edited by timbo1957; 11-08-2011 at 09:36 AM.
You could try offsetting and End(xlUp) instead:
![]()
Range(Selection, Selection.Offset(50000).End(xlUp)).Select
Note that it will produce an error if the offset takes it beyond the 65536 row limit.
![]()
Range(Selection,Cells(Rows.Count,Selection.Column).End(xlUp))
Thanks guys a great help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks