Solved

How Do I Suppress The Update Links Prompt In Word 2003

Posted on 2007-03-27
3
528 Views
Last Modified: 2012-06-21
I have a Word 2003 document with about 25 linked Excel spread sheets.  When I open the Word document I get the "This document contains links..." prompt asking me if I want to update the links.  I would like to suppress this message and just have the links always update every time I open the Word document.  Please note ... I have the links set to "Automatic" already and have the Tools|Options|General setting set to on for "Update Automatic Links on Open".
0
Comment
Question by:modtodd
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Glenn_Moore earned 125 total points
ID: 18801301
Try the following code:
Sub Document_Open()
Application.DisplayAlerts = False
    With Options
        .UpdateLinksAtOpen = True
    End With
Selection.WholeStory
Selection.Fields.Update
Selection.HomeKey
End Sub
0
 
LVL 14

Expert Comment

by:Glenn_Moore
ID: 18801311
0
 

Author Comment

by:modtodd
ID: 18809500
I am implementing this through an API call in Delphi and based on the posted comment I was able to code the solution.  My code looks like the following

    WordDocumentResearch.Open;
    WordApplicationResearch.WordApplication.DisplayAlerts := 0;
    WordApplicationResearch.WordApplication.Options.UpdateLinksAtOpen := True;

Thank You
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

911 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

22 Experts available now in Live!

Get 1:1 Help Now