PC Review


Reply
Thread Tools Rate Thread

Adding Extra Data Row to Chart via Macro

 
 
thedanielgreen@gmail.com
Guest
Posts: n/a
 
      5th Dec 2006
I have a sheets with charts whose series, for example, go from A3 A11
(X) to B3 B11 (Y), another chart ranging from A6A11(x) C6C11 (Y) and so
on..


Everytime I add a row of data I manually have to add the new point to
each chart.

Is is possible to select a chart and run a macro that would, for
instance, substitute a number I choose in the data range for another
one? That way I would be able to change the boundaries of each chart
faster.

Many thanks,

 
Reply With Quote
 
 
 
 
marcus
Guest
Posts: n/a
 
      5th Dec 2006
Hi

It seems like you need the help of a dynamic chat. The chart updates
itself when new data is added to the bottom of the range. Meaning you
don't have to update the chart manually. A very good example of
dynamic ranges can be found here.

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

Good luck working it out.

Marcus


(E-Mail Removed) wrote:
> I have a sheets with charts whose series, for example, go from A3 A11
> (X) to B3 B11 (Y), another chart ranging from A6A11(x) C6C11 (Y) and so
> on..
>
>
> Everytime I add a row of data I manually have to add the new point to
> each chart.
>
> Is is possible to select a chart and run a macro that would, for
> instance, substitute a number I choose in the data range for another
> one? That way I would be able to change the boundaries of each chart
> faster.
>
> Many thanks,


 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      5th Dec 2006
I was going to suggest this, but Marcus beat me to it. But there's also a
little utility I've made that will do a straight text substitution in the
chart series formulas:

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

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


"marcus" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> It seems like you need the help of a dynamic chat. The chart updates
> itself when new data is added to the bottom of the range. Meaning you
> don't have to update the chart manually. A very good example of
> dynamic ranges can be found here.
>
> http://peltiertech.com/Excel/Charts/...umnChart1.html
>
> Good luck working it out.
>
> Marcus
>
>
> (E-Mail Removed) wrote:
>> I have a sheets with charts whose series, for example, go from A3 A11
>> (X) to B3 B11 (Y), another chart ranging from A6A11(x) C6C11 (Y) and so
>> on..
>>
>>
>> Everytime I add a row of data I manually have to add the new point to
>> each chart.
>>
>> Is is possible to select a chart and run a macro that would, for
>> instance, substitute a number I choose in the data range for another
>> one? That way I would be able to change the boundaries of each chart
>> faster.
>>
>> Many thanks,

>



 
Reply With Quote
 
thedanielgreen@gmail.com
Guest
Posts: n/a
 
      6th Dec 2006
Your macro was EXACTLY what I was looking for!

Thank you very much!



Jon Peltier wrote:
> I was going to suggest this, but Marcus beat me to it. But there's also a
> little utility I've made that will do a straight text substitution in the
> chart series formulas:
>
> http://peltiertech.com/Excel/Charts/ChgSrsFmla.html
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Tutorials and Custom Solutions
> http://PeltierTech.com
> _______
>
>
> "marcus" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi
> >
> > It seems like you need the help of a dynamic chat. The chart updates
> > itself when new data is added to the bottom of the range. Meaning you
> > don't have to update the chart manually. A very good example of
> > dynamic ranges can be found here.
> >
> > http://peltiertech.com/Excel/Charts/...umnChart1.html
> >
> > Good luck working it out.
> >
> > Marcus
> >
> >
> > (E-Mail Removed) wrote:
> >> I have a sheets with charts whose series, for example, go from A3 A11
> >> (X) to B3 B11 (Y), another chart ranging from A6A11(x) C6C11 (Y) and so
> >> on..
> >>
> >>
> >> Everytime I add a row of data I manually have to add the new point to
> >> each chart.
> >>
> >> Is is possible to select a chart and run a macro that would, for
> >> instance, substitute a number I choose in the data range for another
> >> one? That way I would be able to change the boundaries of each chart
> >> faster.
> >>
> >> Many thanks,

> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for adding additional data to chart Zekillercupcake Microsoft Excel Charting 0 13th Jun 2011 08:57 AM
Adding extra data to a chart Tracey Microsoft Excel Charting 1 9th Jun 2008 10:58 PM
Extra data plotted on chart Dan Microsoft Excel Charting 2 29th Nov 2007 01:34 PM
Adding data series to chart via macro =?Utf-8?B?SmVzc0s=?= Microsoft Excel Charting 1 1st Mar 2006 11:04 PM
Adding Extra Data Field in a Chart =?Utf-8?B?SmF5?= Microsoft Access Form Coding 1 7th Oct 2005 07:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:00 AM.