Solved

Code that will automatically update links upon opening workbook

Posted on 2011-03-22
5
613 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

813 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

10 Experts available now in Live!

Get 1:1 Help Now