Select 'used range' except header row in excel 2007

  • Thread starter Thread starter Anita
  • Start date Start date
A

Anita

Hello

How can I use code to select populated cells in a worksheet but exclude the
top row which is my header row? The spreadsheet has formulae down to about
row 2000 but all 2000 rows aren't always used... thanks
 
Range("A1").CurrentRegion.Offset(1).Resize(Range("A1").CurrentRegion.Rows.Count - 1).Select

--
Regards!
Stefi



„Anita†ezt írta:
 
Perfect thanks!

Stefi said:
Range("A1").CurrentRegion.Offset(1).Resize(Range("A1").CurrentRegion.Rows.Count - 1).Select

--
Regards!
Stefi



„Anita†ezt írta:
 
You are welcome! Thanks for the feedback!

Clicking the YES button will be appreciated.


--
Regards!
Stefi



„Anita†ezt írta:
 

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