Pulling out numeric number from Activecell.Address

  • Thread starter Thread starter WLMPilot
  • Start date Start date
W

WLMPilot

I need to get the numeric value of Activecell.Address into a variable so that
I can do calculations. Example: ActiveCell.Address = $F$426. I need to
pull out 426 and place in a variable.

How can this be accomplished?

Thanks,
Les
 
Hi Les, The 426 is the row number so you could use:

myVar = ActiveCell.Row

That would give you an integer value for the row number.
 

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

Similar Threads


Back
Top