PC Review


Reply
 
 
nsv
Guest
Posts: n/a
 
      30th Jun 2006

Here is an easy one, I guess, for those who know the answer:

Charts on a worksheet are named Chart1, Chart2, etc. as they ar
created, and this is the name you must refer to when manupulating the
in VBA.
Is it possible to look up the name of a chart, and if affirmative is i
possible to change it?


NS

--
ns
-----------------------------------------------------------------------
nsv's Profile: http://www.excelforum.com/member.php...fo&userid=2650
View this thread: http://www.excelforum.com/showthread.php?threadid=55725

 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      30th Jun 2006
Hi,

Hold the Shift key whilst selecting the chartobject, sizing handles
shold be white instead of black, and the charts name will appear in the
Name Box (next to the formula bar). You can then change the charts name
via the name box.

With code use,

Activechart.parent.name = "NewName"

Cheers
Andy

nsv wrote:
> Here is an easy one, I guess, for those who know the answer:
>
> Charts on a worksheet are named Chart1, Chart2, etc. as they are
> created, and this is the name you must refer to when manupulating them
> in VBA.
> Is it possible to look up the name of a chart, and if affirmative is it
> possible to change it?
>
>
> NSV
>
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
 
 
 
nsv
Guest
Posts: n/a
 
      30th Jun 2006

Thanks Andy..

--
ns
-----------------------------------------------------------------------
nsv's Profile: http://www.excelforum.com/member.php...fo&userid=2650
View this thread: http://www.excelforum.com/showthread.php?threadid=55725

 
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
1st name last name to last name, 1st name shan Microsoft Excel Worksheet Functions 2 11th Mar 2009 07:59 PM
change first name last name to last name first name Doris smith Microsoft Excel Misc 3 25th Feb 2009 12:35 PM
Changing chart name and sorting by chart name navin Microsoft Excel Programming 1 28th Mar 2007 06:38 PM
how do I reveerse name order last name, first name to first name, last name Don Smith Microsoft Excel Discussion 9 29th Nov 2006 10:55 PM
Changing a list from last name, first name to first name, last name zgall1 Microsoft Excel Misc 3 17th Feb 2006 12:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:04 AM.