A1:B(xlDown)?

S

Simon

Hi,

I use

Range("A1").Select
Range(Selection, Selection.End(xlDown)).Select

for column A, but how do I grab from A1 to the last record in row B in
one swoop?
 
B

Bob Phillips

Range("A1").Resize(Range("A1").End(xlDown).Row).Select


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
S

Simon

Needed to use
Range("A1").Resize(Range("B1").End(xlDown).Row, 2).Select





- Show quoted text -

Yes, thansk the ,2) was requred, specifing the number of rows required.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top