VBA Macro Help

  • Thread starter Thread starter hemants
  • Start date Start date
H

hemants

Hello

I am trying to figure out the command on how to pull up the cell rang
value

Example:
Say "ActiveCell" is currently on "A1"
how do i make 'y = A1' but by using ActiveCell
i.e.: y = ActiveCell.Valu
 
how about activecell.address
or activecell.column or activecell.row
 
y = ActiveCell.Value

will place the value of the active cell in y

y = ActiveCell.Address

will place the address of the active cell in y
 

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