Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Returning the name of a chart


Jon Peltier helped by explaining how to see the name of a chart by
Ctrl+click on it. Is there a way of selecting a chart of unknown name -
say by clicking on it - and returning the name to use in code for
subsequent operations eg returning to it, or renaming i?


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Returning the name of a chart


One way...
Dim x As String
x = ActiveChart.Name
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Gordon Humphreys"
wrote in message
Jon Peltier helped by explaining how to see the name of a chart by
Ctrl+click on it. Is there a way of selecting a chart of unknown name -
say by clicking on it - and returning the name to use in code for
subsequent operations eg returning to it, or renaming i?
*** Sent via Developersdex http://www.developersdex.com ***
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Returning the name of a chart

If it's an embedded chart, use ActiveChart.Parent.Name

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Jim Cone" wrote in message
...

One way...
Dim x As String
x = ActiveChart.Name
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Gordon Humphreys"
wrote in message
Jon Peltier helped by explaining how to see the name of a chart by
Ctrl+click on it. Is there a way of selecting a chart of unknown name -
say by clicking on it - and returning the name to use in code for
subsequent operations eg returning to it, or renaming i?
*** Sent via Developersdex http://www.developersdex.com ***



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
IF statement not returning a blank so a chart line won't gap mikekaf Charts and Charting in Excel 3 January 2nd 08 09:36 PM
GET.CHART.ITEM returning strange results Laura Battarbee Charts and Charting in Excel 0 November 29th 07 09:19 PM
Returning the name of an embedded chart? anthonyg Excel Programming 2 March 23rd 07 12:34 PM
Returning values from a multiple chart series Billabong Excel Programming 0 October 13th 04 08:32 PM
returning a chart series formula jmikerea Excel Programming 2 May 6th 04 09:51 AM


All times are GMT +1. The time now is 11:23 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"