Solved

Code that will automatically update links upon opening workbook

Posted on 2011-03-22
5
618 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:
Ardhendu Sarangi 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:Ardhendu Sarangi
ID: 35478483
Thanks for the points john!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
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.

688 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