Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Change the assigned chart number

If you use the Macro Recorder and select several charts (in the same
worksheet) in secession you can see that Excel has assigned a name to each
chart such as Chart 1, Chart 2, ect.. Is there a way to rename say Chart 15
to Chart 3, assuming Chart 3 does not already exist?

--

Al Eaton



  #2   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Change the assigned chart number

To manually rename a chart object:

Hold the Ctrl key, and click on the chart to select it
Click in the Name box, to the left of the formula bar
Type a new name, or edit the existing name
Press the Enter key

To programmatically rename a chart object:

ActiveSheet.ChartObjects("Chart 1").Name = "NewChartName"


Al Eaton wrote:
If you use the Macro Recorder and select several charts (in the same
worksheet) in secession you can see that Excel has assigned a name to each
chart such as Chart 1, Chart 2, ect.. Is there a way to rename say Chart 15
to Chart 3, assuming Chart 3 does not already exist?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
external usenet poster
 
Posts: 61
Default Change the assigned chart number

see
http://peltiertech.com/Excel/ChartsH...ameAChart.html


"Debra Dalgleish" wrote in message
...
To manually rename a chart object:

Hold the Ctrl key, and click on the chart to select it
Click in the Name box, to the left of the formula bar
Type a new name, or edit the existing name
Press the Enter key

To programmatically rename a chart object:

ActiveSheet.ChartObjects("Chart 1").Name = "NewChartName"


Al Eaton wrote:
If you use the Macro Recorder and select several charts (in the same
worksheet) in secession you can see that Excel has assigned a name to

each
chart such as Chart 1, Chart 2, ect.. Is there a way to rename say

Chart 15
to Chart 3, assuming Chart 3 does not already exist?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



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
How can I print the version number assigned in SharePoint? Lorrie Excel Discussion (Misc queries) 0 September 3rd 09 07:37 PM
SeriesCollection - Incorrect ColorIndex Assigned to Chart Bob Barnes Charts and Charting in Excel 11 July 2nd 09 12:02 AM
formula to color fill a cell if number over assigned value rhuckeby Excel Worksheet Functions 2 April 9th 08 12:36 AM
Assigned macros change location markvi Excel Discussion (Misc queries) 3 April 6th 06 06:48 PM
How do I change the invoice number assigned in Invoice template... akress Excel Discussion (Misc queries) 1 February 28th 05 06:36 PM


All times are GMT +1. The time now is 03:15 AM.

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"