Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Cell name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ranswert - 28 Jan 2008 18:29 GMT
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
Jim Thomlinson - 28 Jan 2008 18:37 GMT
msgbox Activecell.Name.Name

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

HTH...

Jim Thomlinson

> I have the following code:
> dim a as string
[quoted text clipped - 9 lines]
> How do I correct this?
> Thanks
ranswert - 28 Jan 2008 18:41 GMT
worked great
Thank You

> msgbox Activecell.Name.Name
>
[quoted text clipped - 14 lines]
> > How do I correct this?
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.