Solved

How Do I Suppress The Update Links Prompt In Word 2003

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
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…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

617 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