Range Selection

  • Thread starter Thread starter ssmith
  • Start date Start date
S

ssmith

OK, I want to select a range of rows. The first row is a number and th
last row numjber is a variable. How can I mix the 2 types? I tried

Rows("4:Lastrow").Select

But I get a type mismatch.

Thanks,
Stev
 
Hi Steve,

This should work:

Rows("4:" & LastRow).Select

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *
 
Hi Steve,

Try:

Rows("4:" & LastRow).Select


You may well be able to derop the Select - it is rarely necessary.
 

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

Back
Top