Solved

How Do I Suppress The Update Links Prompt In Word 2003

Posted on 2007-03-27
3
519 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

My experience with Windows 10 over a one year period and suggestions for smooth operation
Outlook Free & Paid Tools
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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