Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Copying Chart with Chart Series from Worksheet Name

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,385 40,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.039377811179597 5,0.135734068089231,0.211814337205252,0.2944776885 09942,0.406082938316851,0.512269331828989,0.607771 349820539,0.747642205933577,0.876835785464403,0.98 0649240508246,1,1,1,1,1,1},1)

Joel Mills


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Copying Chart with Chart Series from Worksheet Name

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" wrote in message
...
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,385 40,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.039377811179597 5,0.135734068089231,0.211814337205252,0.2944776885 09942,0.406082938316851,0.512269331828989,0.607771 349820539,0.747642205933577,0.876835785464403,0.98 0649240508246,1,1,1,1,1,1},1)

Joel Mills



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Copying Chart with Chart Series from Worksheet Name

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" wrote in message
...
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" wrote in message
...
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,385 40,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.039377811179597 5,0.135734068089231,0.211814337205252,0.2944776885 09942,0.406082938316851,0.512269331828989,0.607771 349820539,0.747642205933577,0.876835785464403,0.98 0649240508246,1,1,1,1,1,1},1)

Joel Mills





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
Copying Named Ranges in Chart Series Revolvr Charts and Charting in Excel 1 March 18th 10 12:21 PM
In Office 2007 can't see chart series values unless chart unprotec Carl Charts and Charting in Excel 0 October 28th 09 03:31 AM
Chart references and worksheet copying -- HELP! Paul R Excel Discussion (Misc queries) 0 March 19th 09 05:50 PM
copying a worksheet tab with a chart, without losing chart formatt davey888 Charts and Charting in Excel 0 September 5th 07 02:56 AM
Q. Pie Chart problem. Want to add series, from another worksheet. Jim Jones Excel Programming 3 January 6th 04 03:13 AM


All times are GMT +1. The time now is 05:35 AM.

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"