A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

auto updating circular links



 
 
Thread Tools Display Modes
  #1  
Old November 5th, 2004, 07:12 AM
Andrew S
external usenet poster
 
Posts: n/a
Default auto updating circular links

Hi,

I have a master workbook with links to data on a number of data entry
workbooks, all contained in a network folder. Each of the data entry
workbooks then has some charts which are linked back to aggregated linked
data on the master workbook. A bit circular, I know.

The intention is a user enters data on the data entry workbook and runs a
macro which updates the charts. The macro opens and closes the master
workbook as a means of updating the links.

Problem is that the updating only works intermittently, yesterday it would
only work on my PC and not on others (all Excel 2000), today it won't work on
any. I thought I had fixed yesterdays' problem.

The macro code I am using is:
Sub Update_Graphs()
Workbooks.Open Filename:= _
"G:\Performance Measures\Master.xls", UpdateLinks:=3
Workbooks("Data Entry 1.xls").Activate
Workbooks("Master.xls").Activate
ActiveWorkbook.Save
ActiveWindow.Close
End Sub

I've tried various sequences of the .Activate function and values for
UpdateLinks with no success. Yesterday's problem appeared to be fixed by
changing the file address from UNC format to G:\.

The update fails at the first link, ie the link in the master file is not
updated.

The only way I can reliably update the chart is to manually have both files
open at the same time, or open each file separately (master first) allowing
the links to update.

Any clues ?

Thanks in advance.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto updating links. System Administrator General Discussion 2 September 21st, 2004 10:16 PM
Auto updating links. System Administrator Powerpoint 2 September 21st, 2004 10:16 PM
Circular reference error Linda New Users 3 April 27th, 2004 04:09 AM
Excel 2000 converts UNC links to relative - need to preserve UNC links! Jeff Adams Links and Linking 3 April 15th, 2004 05:46 PM
Circular Reference John Worksheet Functions 2 January 10th, 2004 07:17 PM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.