#1   Report Post  
Posted to microsoft.public.excel.charting
nsv
 
Posts: n/a
Default Chart name


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


--
nsv
------------------------------------------------------------------------
nsv's Profile: http://www.excelforum.com/member.php...o&userid=26500
View this thread: http://www.excelforum.com/showthread...hreadid=557251

  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default Chart name

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
  #3   Report Post  
Posted to microsoft.public.excel.charting
nsv
 
Posts: n/a
Default Chart name


Thanks Andy...


--
nsv
------------------------------------------------------------------------
nsv's Profile: http://www.excelforum.com/member.php...o&userid=26500
View this thread: http://www.excelforum.com/showthread...hreadid=557251

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting values in a bar chart Eric D Charts and Charting in Excel 4 April 17th 06 04:44 PM
Activating a Chart object Hari Prasadh Charts and Charting in Excel 6 August 2nd 05 07:22 PM
Urgent Chart Assistance Brent E Charts and Charting in Excel 1 May 10th 05 09:09 AM
Urgent Chart Questions Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM
Urgent Chart Assistance Requested Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM


All times are GMT +1. The time now is 04:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"