Macro Range Selection

  • Thread starter Thread starter Roy A.
  • Start date Start date
R

Roy A.

Range("A16:C16").Select

I would like the above command to select columns A:C with the current cursor
row.

Obviously a Macro newbee, lol Thanks for any assistance.
 
hi
range("A:C").select would select columns A through C but what is the
"current cursor row"?

regards
FSt1
 
This one selects cells from A to C on activecells row:

Range(Cells(ActiveCell.Row, "A"), Cells(ActiveCell.Row, "C")).Select

Mika Oukka, IT-Consultant
 
Another one:
activecell.entirerow.cells(1).range("a1:C1").select
or
activecell.entirerow.range("a1:C1").select

(I kind of like the documentation that .cells(1) provides.)
 

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