PC Review


Reply
Thread Tools Rate Thread

Chart Relative To Worksheet When Copying- Excel 2007

 
 
Grace
Guest
Posts: n/a
 
      22nd Jan 2010
I'm looking for a technique to make charts automatically reference data on
the current worksheet when I copy a worksheet containing a chart. In Excel
2007, the chart references the cells from the original worksheet while Excel
2003 would automatically update the reference. I can manually key in the new
worksheet as the reference but this is tedious.

any suggestions?
 
Reply With Quote
 
 
 
 
Héctor Miguel
Guest
Posts: n/a
 
      23rd Jan 2010
hi, Grace !

> I'm looking for a technique to make charts automatically reference data on the current worksheet
> when I copy a worksheet containing a chart.
> In Excel 2007, the chart references the cells from the original worksheet
> while Excel 2003 would automatically update the reference.
> I can manually key in the new worksheet as the reference but this is tedious.
>
> any suggestions?


I couldn't repro (xl-2007) copying ws w/embedded chart, source data remains referencing to original ws (?)
(copied ws automatically updates the embedded chart source data to it's "new" location/ws)

perhaps with a little help from vba (?) i.e.

With ActiveSheet
.ChartObjects(1).Chart.SetSourceData _
Source:=.Range("a1:b1,a3:b5,a7:b9,a11:b13,a15:b17"), PlotBy:=xlByColumns
End With

hth,
hector.


 
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
Worksheet copying in Excel 2007 jeh Microsoft Excel Programming 3 16th Jan 2010 01:58 AM
Copying Excel 2007 chart to Word 2007 - only half of it shows NonTechie Microsoft Excel Misc 2 3rd Nov 2009 09:26 PM
copying chart from Excel 2007 to Word 2007 NonTechie Microsoft Excel Charting 1 1st Nov 2009 12:53 PM
Problem copying Chart and Data from Excel 2007 to PowerPoint 2007 Garyc Microsoft Powerpoint 1 21st Nov 2008 08:35 AM
Excel VBA: Problem with copying an embedded chart from one worksheet to another Flystar Microsoft Excel Programming 2 21st May 2004 01:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:39 PM.