PC Review


Reply
 
 
ranswert
Guest
Posts: n/a
 
      28th Jan 2008
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
 
Reply With Quote
 
 
 
 
Jim Thomlinson
Guest
Posts: n/a
 
      28th Jan 2008
msgbox Activecell.Name.Name

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

Jim Thomlinson


"ranswert" wrote:

> 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

 
Reply With Quote
 
ranswert
Guest
Posts: n/a
 
      28th Jan 2008
worked great
Thank You

"Jim Thomlinson" wrote:

> msgbox Activecell.Name.Name
>
> There is a bit of an explanation that goes this that but suffice it to say
> this work...
> --
> HTH...
>
> Jim Thomlinson
>
>
> "ranswert" wrote:
>
> > 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options Yuvraj Microsoft Excel Misc 0 29th Jun 2009 11:20 AM
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 tviola@wi.rr.com Microsoft Excel Programming 1 21st Aug 2008 10:13 PM
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 tviola@wi.rr.com Microsoft Excel Worksheet Functions 0 21st Aug 2008 08:44 PM
NEED VBA TO SELECT A CELL; NOTE THE CELL VALUE;COPYADJ CELL;FIND CELL VALUE IN A RANGE AND SO ON CAPTGNVR Microsoft Excel Programming 2 8th Jul 2007 04:18 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D =?Utf-8?B?YWJtYjE2MQ==?= Microsoft Excel Misc 5 26th Jan 2006 06:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:52 AM.