copy and pasting dynamic charts

C

Cal@tech-etch

Question
Subject: copy and pasting dynamic charts 11/10/2004 8:48 AM PST

By: Cal@tech-etch In: microsoft.public.excel.charting

Was this post helpful to you?


Is it possible to copy and paste a dynamic chart to reflect a differant data
range without having to difine names to reflect the new data series?

Cal
 
J

JulieD

Hi Cal

just to clarify your question, you have an emedded chart on sheet 1 which
takes it data from A1:D10 on that sheet .. now you want to copy & paste the
chart to sheet2 and have it take its data from sheet2!A1:D10 ... is this
what you're asking? If so, no i don't think this is at all possible.

If however, i've misunderstood the question, could you please explain what
you're after in a bit more detail.

Cheers
JulieD
 
C

Cal@tech-etch

Hi JulieD,

Not exactly. I have an engineering spreadsheet. When I measure parts, I
paste or import the measurement data into column "A" in Sheet1. I created a
dynamic line chart to plot this data. Within this chart I have two red grid
lines signifing the high and low tolerance of the measured data. The center
gridline is the measurements nominal dimension, or what the features
measurement is supposed to be. To have the chart work dynamically, I defined
a name for each data series ( Nominal, High Tolerance, and Low Tolerance ),
using the OFFSET and COUNTA funtions. The nominal data series comes from the
pasted of imported data in column "A". The high tolerance data series comes
from a formula in column "A" on sheet2. The low tolerance data series comes
from a formula in column "B" on sheet2. I wrote a macro for the high and low
tolerance formulas on sheet 2. After you paste data into column "A" on
sheet1, the chart will expand to reflect the new data. I then run the macro
on sheet2 for the same amount of rows that the data on sheet1 reflect. This
action will draw the red lines that represent the high and low tolerances in
the chart, and size them to reflect the added data. On Sheet1, column "B" is
a deviation from nominal formula, and column "C" is a pass or fail formula.
My problem is that I may have fifty charts on Sheet1, representing
fifty features measured. When I copy and paste the chart fifty times, the
data series columns will remain the same. Right now I have to define names
for values and labels for every chart to reflect the columns that the data is
drawn from. I then have to change the three data series formulas to reflect
the columns the data is drawn from. As you can see, this is very time
consuming. Is there a way to copy and paste the chart so the defined names
and data series can be also pasted, and to reflect the columns it is being
pasted to. Any help would be appreciated.

Thanks,
Cal
 
J

JulieD

Hi Cal

sorry i can't help you with this ... couple of ideas though
1) hang around here for a bit and see if any of the "charting" gurus respond
2) pop across to microsoft.public.excel.charting and post the question in
there (hopefully they won't yell at you for cross-posting and if they do
i'll deny all responsibility :)
3) check out Jon Peltier's site
http://peltiertech.com/
he's got a lot of good info on his site on charting

Cheers
JulieD
 
Top