Log in

View Full Version : Select till row destination



Prabhu
07-18-2015, 05:36 PM
Hi,


The below code is help to select the column B equals to the used range of column A

Range("B2:B" & Cells(Rows.Count, "a").End(xlUp).Row).Select

Similarly i would required to modify the above code select row 2 equals to the row 1 used range.

Kindly help.

Regards,

Prabhu

Admin
07-20-2015, 05:03 PM
The question is not clear. Can you please elaborate little more ?

Rick Rothstein
08-01-2015, 10:58 PM
I agree with Admin... your question is not entirely clear; however, let me take a guess. Is this what you are looking for...



Range("B" & ActiveSheet.UsedRange.Row & ":B" & Cells(Rows.Count, "a").End(xlUp).Row).Select