cell address..

  • Thread starter Thread starter peterlee516
  • Start date Start date
P

peterlee516

Hi,

How can I retrieve the row of the selected cell? I am pretty new to VB
so can you explain every step.

Thank you in advance
 
msgbox Activecell.row

msgbox Selection.Address

for multiple cells selected and you want the whole selection.
 
The selection can be many cells ( and many rows) whereas the activecell
is just one, so I will use activecell

thisRow = Activecell.Row

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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