Solved

Code that will automatically update links upon opening workbook

Posted on 2011-03-22
5
611 Views
Last Modified: 2012-05-11
Obviously the code below doesn't work, but I find that setting the Startup prompt to "Don't display the alert and update links" doesn't work either. The workbook persists in displaying the prompt upon opening.

Thanks,
John
Private Sub Workbook_Open()
ThisWorkbook.UpdateLinks
End Sub

Open in new window

0
Comment
Question by:gabrielPennyback
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:MeLindaJohnson
ID: 35191812
Did you check to see if the box "Update links to other documents" is checked in Excel Options.
0
 
LVL 20

Accepted Solution

by:
pari123 earned 500 total points
ID: 35191817
Hi John,

So, you need the excel to update the links silently without notifying the users, right?

Please see the following link  http://support.microsoft.com/kb/826921 which has steps on how to suppress the message and to automatically update the links when you open a workbook.

0
 
LVL 1

Author Comment

by:gabrielPennyback
ID: 35194367
Had a bunch of stuff thrown at me today, I'll get back to this as soon as I can.

Thanks,
John
0
 
LVL 1

Author Closing Comment

by:gabrielPennyback
ID: 35478453
Thanks, pari123. Sorry I took so long to get back. Melinda, forgive me for not giving you any points but I'm still stuck with Excel 2003 here at work so I couldn't use the 2007 fix. But thanks for posting.

- John
0
 
LVL 20

Expert Comment

by:pari123
ID: 35478483
Thanks for the points john!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now