Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default updating a chart series automatically

I need to update a number of chart's series automatically. Basically on the
spreadsheet that the chart's information is on, a new line of information is
added and that new row needs to be added to each chart's series. How can I
do this dynamically?
ie.
ActiveChart.PlotArea.Select
ActiveChart.SeriesCollection(1).XValues = "=dvt_data!R3C1:R901C1"
ActiveChart.SeriesCollection(1).Values = "=dvt_data!R3C10:R901C10"
ActiveChart.SeriesCollection(2).XValues = "=dvt_data!R3C1:R901C1"
ActiveChart.SeriesCollection(2).Values = "=dvt_data!R3C11:R901C11"

so it's just the second R that needs to go from 901 to 902, then from 902 to
903 when each of these rows are filled (one per day).

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default updating a chart series automatically

Take a look he

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

In article ,
"KyWilde" wrote:

I need to update a number of chart's series automatically. Basically on the
spreadsheet that the chart's information is on, a new line of information is
added and that new row needs to be added to each chart's series. How can I
do this dynamically?
ie.
ActiveChart.PlotArea.Select
ActiveChart.SeriesCollection(1).XValues = "=dvt_data!R3C1:R901C1"
ActiveChart.SeriesCollection(1).Values = "=dvt_data!R3C10:R901C10"
ActiveChart.SeriesCollection(2).XValues = "=dvt_data!R3C1:R901C1"
ActiveChart.SeriesCollection(2).Values = "=dvt_data!R3C11:R901C11"

so it's just the second R that needs to go from 901 to 902, then from 902 to
903 when each of these rows are filled (one per day).

Thanks!

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
automatically updating chart rayteach Excel Worksheet Functions 4 May 30th 09 04:34 PM
Chart Automatically Updating Amber Charts and Charting in Excel 1 June 2nd 07 01:46 PM
Updating a chart automatically jeffsumm Charts and Charting in Excel 4 December 28th 05 08:01 PM
stop chart series from updating johnmoreland21 Charts and Charting in Excel 1 October 3rd 05 08:26 PM
need help updating chart (series in dynamic range) Jeff Charts and Charting in Excel 1 April 1st 05 02:35 AM


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