Selecting Range

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

Hello,

I have data in columns A through F and I would like select
the last row of data (A:F). I get to the last row by:

Selection.End(xlDown).Select

How do I then Select colums A:F for that row?

Thank you in advance,
Dan
 
One way:

Selection.Resize(1, 6).Select

or, all in one step:

Selection.End(xlDown).Resize(1, 6).Select
 
Hey Dan,

Here is one way

selection.end(xldown).columns("A:F").select

although selecting is messy

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Your solution worked just fine!
Thank you,
Dan
-----Original Message-----
One way:

Selection.Resize(1, 6).Select

or, all in one step:

Selection.End(xlDown).Resize(1, 6).Select



.
 

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