Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2020, 03:53 PM
macropod's Avatar
macropod macropod is offline Duplicating and Updating Information Windows 7 64bit Duplicating and Updating Information Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by pooldead View Post
Also, is there a way I can use VBA to auto-update when the document is opened, that way if there are any changes to the source document the user won't have to manually hit F9 to update?
You could, for example, insert the following macro into the 'ThisDocument' code module of the document or its template:
Code:
Private Sub Document_Open()
Application.ScreenUpdating = False
With ActiveDocument
  .Fields.Update
  .PrintPreview
  .ClosePrintPreview
End With
For PC macro installation & usage instructions, see: Installing Macros
For Mac macro installation & usage instructions, see: Word:mac - Install a Macro
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
duplicates, word 2016



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Duplicating On It's Own Nadine67 Project 0 12-06-2017 01:33 PM
Duplicating and Updating Information Help duplicating text box tabbakh Word 2 11-29-2017 02:36 PM
Figures keep duplicating telonghemu Word 2 10-19-2016 04:47 PM
Duplicating and Updating Information Updating Existing Information akshaygopale Office 5 06-22-2011 06:07 AM
Duplicating and Updating Information Issue with Word duplicating cajun62234 Word 4 04-06-2011 07:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft