Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jo
 
Posts: n/a
Default Global changes to links

Hi

Hope you can help.

I have a big spreadsheet I am working on, and wish to expand it. I have a
sheet 'Raw Data' and another sheet 'Raw Chart' where a chart is produced
charting data on the former. I have copied the 'Raw Data' sheet to a new
sheet 'Processed Data' - which I can now make a few amendments. I have then
copied the sheet containing the chart to 'Processed Chart' - but at present,
(of course) all references to data elements point at the Raw Data sheet -
whereas I want them to point to the Processed Data sheet. Is there any
simple way to globally change all the references on the chart to point to the
Processed Data sheet?

Thanks in advance!!

Jo
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

Jo,

Click once on the chart in your Processed Chart sheet. Then, go to the
standard toolbar and select Chart - Source Data. In the Source Data dialog
box - Data Range input, change the word "Raw" to "Processed".

As a sidenote - from the macro recorder . . .

Sub ChangeSource()
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.ChartArea.Select
ActiveChart.SetSourceData Source:=Sheets("Processed
Data").Range("B2:B7"), _
PlotBy:=xlColumns
End Sub

This line refers to where you could automate the sheet reference change:

from

=Sheets("Raw Data").

to

=Sheets("Processed Data").

----
Regards,
John Mansfield
http://www.pdbook.com

"Jo" wrote:

Hi

Hope you can help.

I have a big spreadsheet I am working on, and wish to expand it. I have a
sheet 'Raw Data' and another sheet 'Raw Chart' where a chart is produced
charting data on the former. I have copied the 'Raw Data' sheet to a new
sheet 'Processed Data' - which I can now make a few amendments. I have then
copied the sheet containing the chart to 'Processed Chart' - but at present,
(of course) all references to data elements point at the Raw Data sheet -
whereas I want them to point to the Processed Data sheet. Is there any
simple way to globally change all the references on the chart to point to the
Processed Data sheet?

Thanks in advance!!

Jo

  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default

Hi Jo -

I have an explanation and a small workbook with a macro to change series
formula text the same way Find/Replace does it in the worksheet.

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

It's not 100% foolproof, so try it on a copy of your workbook.

You could probably just change
'Raw
to
'Processed
and it will work.

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


Jo wrote:
Hi

Hope you can help.

I have a big spreadsheet I am working on, and wish to expand it. I have a
sheet 'Raw Data' and another sheet 'Raw Chart' where a chart is produced
charting data on the former. I have copied the 'Raw Data' sheet to a new
sheet 'Processed Data' - which I can now make a few amendments. I have then
copied the sheet containing the chart to 'Processed Chart' - but at present,
(of course) all references to data elements point at the Raw Data sheet -
whereas I want them to point to the Processed Data sheet. Is there any
simple way to globally change all the references on the chart to point to the
Processed Data sheet?

Thanks in advance!!

Jo

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
Reoccurring Edit Links Error Spyder Excel Discussion (Misc queries) 6 April 12th 05 02:30 PM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM
Links to other files Eric Excel Discussion (Misc queries) 1 February 24th 05 10:49 PM
HELP!!! Missing Links!!! [email protected] New Users to Excel 2 February 16th 05 03:20 PM
Links in formulas change when another user runs a workbook L Mehl Excel Discussion (Misc queries) 2 November 27th 04 09:27 PM


All times are GMT +1. The time now is 11:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"