Cell name

  • Thread starter Thread starter ranswert
  • Start date Start date
R

ranswert

I have the following code:
dim a as string
a = ActiveCell.name
MsgBox (a)

I want to get the name of a cell that I have given it. What I get is:

=sheet1!$E$11

instead of the name I have given it.

How do I correct this?
Thanks
 
msgbox Activecell.Name.Name

There is a bit of an explanation that goes this that but suffice it to say
this work...
 
worked great
Thank You

Jim Thomlinson said:
msgbox Activecell.Name.Name

There is a bit of an explanation that goes this that but suffice it to say
this work...
 

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