Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
EBB EBB is offline
external usenet poster
 
Posts: 1
Default How do I view and edit the source code for a Chart in Excel 2003?

Is there a way to access the code (VBA?) for a Chart created in Excel 2003? I
have generated a complicated Chart or graph which I want to then "Copy" and
modify to make several more which access different spreadsheets. It is
cumbersome to click in the Toggle box for the data ranges for X and Y.
Instead, I was hoping there might be a way to use Search and Replace to
change the text describing the data ranges.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1,173
Default How do I view and edit the source code for a Chart in Excel 2003?

EBB

Excel does not create VBA when creating a chart unless you have specifically
recorded the steps of creating it (ToolsMacrosRecord New Macro...). Even
when you have done this you may need some custom hand-written code to
complete the steps with a different sheet or range, etc.

Once you have recorded the code you can view it in the vbe by pressing
Alt+F11

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"EBB" wrote in message
...
Is there a way to access the code (VBA?) for a Chart created in Excel
2003? I
have generated a complicated Chart or graph which I want to then "Copy"
and
modify to make several more which access different spreadsheets. It is
cumbersome to click in the Toggle box for the data ranges for X and Y.
Instead, I was hoping there might be a way to use Search and Replace to
change the text describing the data ranges.


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default How do I view and edit the source code for a Chart in Excel 2003?

You could try this utility, which alters the series formula:

http://peltiertech.com/Excel/Charts/XYAreaChart2.html

If the chart's data is contained on the same sheet that the chart is
embedded in, the easiest way to make another chart like it with different
data is to copy the entire sheet, then change the data on the copy of the
sheet. The chart will update as the data is changed.

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


"EBB" wrote in message
...
Is there a way to access the code (VBA?) for a Chart created in Excel
2003? I
have generated a complicated Chart or graph which I want to then "Copy"
and
modify to make several more which access different spreadsheets. It is
cumbersome to click in the Toggle box for the data ranges for X and Y.
Instead, I was hoping there might be a way to use Search and Replace to
change the text describing the data ranges.



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
Pie chart built in 2000, now in 2003 but unable to edit 2003-way Judith Rempel Excel Discussion (Misc queries) 0 September 21st 06 12:05 AM
View / Edit Excel 2003 files in Excel 2000 Pete Excel Discussion (Misc queries) 0 August 9th 06 01:18 PM
View/Edit CSV/Excel in HTML [email protected] Excel Discussion (Misc queries) 0 October 5th 05 06:05 PM
View/Edit Excel in HTML [email protected] Excel Discussion (Misc queries) 0 October 5th 05 06:04 PM
Excel 97 chart opened in Excel 2003 - Source Data problem DHunt Charts and Charting in Excel 0 December 6th 04 08:05 PM


All times are GMT +1. The time now is 06:28 AM.

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

About Us

"It's about Microsoft Excel"