PC Review


Reply
Thread Tools Rate Thread

Copying Chart with Chart Series from Worksheet Name

 
 
Joel Mills
Guest
Posts: n/a
 
      24th Jun 2005
I'm using Excel 2000. And have created an application that retrieves data
from an export and creates several charts. Now that I have several users
testing it they want to be able to copy a worksheet containing a chart into
the same workbook. When they perform sheet move or copy and copy the sheet
into the same workbook the data series isn't copied correctly. After
answering yes to the message box that informs them that they names already
exist the chart is copied. Inspection of the names at the worksheet levels
proves to be correct, but the data series isn't copied as expected. See
Below: The first series from the original chart. The second series from
the copied Chart.

=SERIES(Curve!TARGETEARLY,Curve!Week_Ending,Curve!PercentEarly,1)

=SERIES("Target Early %
Complete",{38359,38390,38418,38449,38479,38510,38540,38571,38602,38632,38663,38693,38724,38755,38783,38814,38844,38875,38905,38936,38967,38997,39028},{0,0,0,0,0,0,0.00116280610622283,0.0393778111795975,0.135734068089231,0.211814337205252,0.294477688509942,0.406082938316851,0.512269331828989,0.607771349820539,0.747642205933577,0.876835785464403,0.980649240508246,1,1,1,1,1,1},1)

Joel Mills


 
Reply With Quote
 
 
 
 
Joel Mills
Guest
Posts: n/a
 
      25th Jun 2005
I offer as further explanation. The data for the embedded charts reside on
the same sheet as the chart. As a test when I changed the location of the
original chart from the Worksheet, to a Chart Sheet, the same thing occurs
to the data series. I would expect some kind of problem moving the chart
from the worksheet because the names are at the worksheet level not the at
workbook level. But I don't know why doing a worksheet copy would have the
same results on my source data as changing the location from the worksheet
to a Chart sheet. Looking at the defined names shows that they are copied
to the new worksheet at the worksheet level correctly.


"Joel Mills" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I'm using Excel 2000. And have created an application that retrieves data
> from an export and creates several charts. Now that I have several users
> testing it they want to be able to copy a worksheet containing a chart
> into the same workbook. When they perform sheet move or copy and copy the
> sheet into the same workbook the data series isn't copied correctly.
> After answering yes to the message box that informs them that they names
> already exist the chart is copied. Inspection of the names at the
> worksheet levels proves to be correct, but the data series isn't copied as
> expected. See Below: The first series from the original chart. The
> second series from the copied Chart.
>
> =SERIES(Curve!TARGETEARLY,Curve!Week_Ending,Curve!PercentEarly,1)
>
> =SERIES("Target Early %
> Complete",{38359,38390,38418,38449,38479,38510,38540,38571,38602,38632,38663,38693,38724,38755,38783,38814,38844,38875,38905,38936,38967,38997,39028},{0,0,0,0,0,0,0.00116280610622283,0.0393778111795975,0.135734068089231,0.211814337205252,0.294477688509942,0.406082938316851,0.512269331828989,0.607771349820539,0.747642205933577,0.876835785464403,0.980649240508246,1,1,1,1,1,1},1)
>
> Joel Mills
>



 
Reply With Quote
 
Joel Mills
Guest
Posts: n/a
 
      25th Jun 2005
Upon further inspection I discovered that the source data wasn't copied
over. By selecting the original chart and the doing a copy Ctrl+C and then
going to the copied chart and pasting the source data Ctrl+V this corrected
the data series. I would have thought copying the sheet with the embedded
chart would have brought over the charts source data as well and renamed the
range to the new worksheet name. It may have something to do with the fact
that the worksheet name was Curve (2) and has a space in the worksheet name.
When I changed the sheet name to "New" and copied the Datasource and
replaced "Curve!" with "New!" my chart series were correct.


"Joel Mills" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I offer as further explanation. The data for the embedded charts reside on
>the same sheet as the chart. As a test when I changed the location of the
>original chart from the Worksheet, to a Chart Sheet, the same thing occurs
>to the data series. I would expect some kind of problem moving the chart
>from the worksheet because the names are at the worksheet level not the at
>workbook level. But I don't know why doing a worksheet copy would have the
>same results on my source data as changing the location from the worksheet
>to a Chart sheet. Looking at the defined names shows that they are copied
>to the new worksheet at the worksheet level correctly.
>
>
> "Joel Mills" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> I'm using Excel 2000. And have created an application that retrieves
>> data from an export and creates several charts. Now that I have several
>> users testing it they want to be able to copy a worksheet containing a
>> chart into the same workbook. When they perform sheet move or copy and
>> copy the sheet into the same workbook the data series isn't copied
>> correctly. After answering yes to the message box that informs them that
>> they names already exist the chart is copied. Inspection of the names at
>> the worksheet levels proves to be correct, but the data series isn't
>> copied as expected. See Below: The first series from the original
>> chart. The second series from the copied Chart.
>>
>> =SERIES(Curve!TARGETEARLY,Curve!Week_Ending,Curve!PercentEarly,1)
>>
>> =SERIES("Target Early %
>> Complete",{38359,38390,38418,38449,38479,38510,38540,38571,38602,38632,38663,38693,38724,38755,38783,38814,38844,38875,38905,38936,38967,38997,39028},{0,0,0,0,0,0,0.00116280610622283,0.0393778111795975,0.135734068089231,0.211814337205252,0.294477688509942,0.406082938316851,0.512269331828989,0.607771349820539,0.747642205933577,0.876835785464403,0.980649240508246,1,1,1,1,1,1},1)
>>
>> Joel Mills
>>

>
>



 
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
Chart question - how to display 3 series as a bar chart and oneseries as a line Dave K Microsoft Excel Discussion 1 9th Aug 2010 09:18 PM
Copying Named Ranges in Chart Series Revolvr Microsoft Excel Charting 1 18th Mar 2010 12:21 PM
copying a worksheet tab with a chart, without losing chart formatt =?Utf-8?B?ZGF2ZXk4ODg=?= Microsoft Excel Charting 0 5th Sep 2007 02:56 AM
Naming a worksheet as a variable in a Active Chart Series =?Utf-8?B?RmFyb29xIFNoZXJp?= Microsoft Excel Programming 5 26th Jan 2006 08:00 AM
Q. Pie Chart problem. Want to add series, from another worksheet. Jim Jones Microsoft Excel Programming 3 6th Jan 2004 03:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:46 AM.