chris123
Goto Top

Aktualisierungsabfrage beim Start einer Word-Vorlage

Guten Tag!

Ich habe eine Word-Vorlage gebastelt, die eine Verknüpfung zu einer anderen Datei enthält. Nun kommt jedesmal beim Start die Abfrage "Dieses Dokument enthält Verknüpfungen, die auf andere Dateien verweisen könnten. Wollen Sie dieses Dokument mit den Daten aus den verknüpften Dateien aktualisieren?". Das nervt!

Kann man das irgendwie einrichten, dass die Aktualisierung automatisch beim Start ohne Abfrage erfolgt? In den Einstellungen habe ich nichts brauchbares gefunden. Aber vielleicht gibt es ja per VBA eine Lösung?

Das Problem bezieht sich auf alle Word-Versionen.

Danke!

Content-Key: 313957

Url: https://administrator.de/contentid/313957

Printed on: May 5, 2024 at 02:05 o'clock

Mitglied: 129813
129813 Aug 30, 2016 at 16:19:40 (UTC)
Goto Top
Try this
Application.DisplayAlerts = False
Regards
Member: chris123
chris123 Aug 31, 2016 at 13:04:54 (UTC)
Goto Top
Danke! Das hatte ich auch schon versucht, aber leider ohne Erfolg.
Mitglied: 129813
129813 Aug 31, 2016 at 13:16:08 (UTC)
Goto Top
Wich exact dialog do you mean there are multiple different ones of this kind. And what is linked to this document. Thanks for your help.
Member: chris123
chris123 Aug 31, 2016 at 13:47:29 (UTC)
Goto Top
unbenannt

unbenannt2


Thanks for your help
Mitglied: 129813
129813 Aug 31, 2016 at 13:58:11 (UTC)
Goto Top
Set to "manual update".
Member: chris123
chris123 Aug 31, 2016 at 14:08:09 (UTC)
Goto Top
That´s not a good solution, because the automatic update on startup is very important!
Mitglied: 129813
129813 Aug 31, 2016 updated at 14:22:54 (UTC)
Goto Top
Disable update on startup and do it via VBA with an auto open macro.
Sub UpdateLinks()
   On Error Resume Next
   With ActiveDocument
    for i = 1 to .Inlineshapes.Count
        .Inlineshapes(i).LinkFormat.Update
    next
   End with
End Sub
http://word.tips.net/T000573_Avoiding_the_Update_Links_Message.html
Member: chris123
chris123 Sep 01, 2016 at 08:36:08 (UTC)
Goto Top
"Disable update on startup and do it via VBA with an auto open macro"
Thanks, good idea. Works fine!
Member: colinardo
colinardo Sep 03, 2016 at 10:52:52 (UTC)
Goto Top
Application.AskToUpdateLinks = False

Reicht eigentlich auch face-smile

Grüße Uwe
Member: colinardo
colinardo Sep 06, 2016 at 15:03:43 (UTC)
Goto Top
Wenns das dann war, den Beitrag bitte noch auf gelöst setzen. Merci.