Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Help: Chart & data

Hi,

are there any method to know the source data in chart via vba?
Actually, i have 60 charts were done. 10series in each chart.
However, the series will be increased day by day.
Now, I'm redo the plot (with macro already) every time.
If i can get the data source when i activate the chart, then i can add the new series in chart 1 by 1. Any ideas?

thanks.
br. Danny
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,522
Default Help: Chart & data

On Dec 4, 8:37*am, danny tang wrote:
Hi,

are there any method to know the source data in chart via vba?
Actually, i have 60 charts were done. 10series in each chart.
However, the series will be increased day by day.
Now, I'm redo the plot (with macro already) every time.
If i can get the data source when i activate the chart, then i can add the new series in chart 1 by 1. Any ideas?

thanks.
br. Danny


Why not just use SELF adjusting DYNAMIC named ranges such as:
insertnamedefine name as desired such as
ch1cola
in the refers to box
=offset($a$1,0,0,counta($a:$a),1)
then in the series refer to the range
=yourfilename.xls!ch1cola
voila



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
Chart empty with new data in the dynamic range chart. Feejo Excel Discussion (Misc queries) 16 January 3rd 08 10:03 PM
chart from pivot data does not update x-axis bar chart values - bug jason gers Excel Discussion (Misc queries) 0 April 3rd 07 06:34 PM
How do you link chart source data when you copy the chart? mamagirl Charts and Charting in Excel 1 December 8th 06 02:40 AM
Chart data file lost - need to re-create from chart? LostExcelData Charts and Charting in Excel 1 June 7th 06 07:54 PM
chart series data corrupted when chart has no data timp Excel Programming 0 April 11th 06 11:23 PM


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