Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2012, 03:14 PM
Jamal NUMAN Jamal NUMAN is offline Does Word have an option to update fields AUTOMATICALLY at open??? Windows 7 64bit Does Word have an option to update fields AUTOMATICALLY at open??? Office 2010 64bit
Expert
Does Word have an option to update fields AUTOMATICALLY at open???
 
Join Date: Nov 2010
Posts: 615
Jamal NUMAN is on a distinguished road
Lightbulb

Quote:
Originally Posted by macropod View Post
Hi Jamal,

1. The procedure for adding the code to a particular document, instead of to the Normal template, is exactly the same. However, every reference to 'ActiveDocument' should be changed to 'ThisDocument'.
2 & 3. That is correct.
4. You can store the code in doc or docm files, not in docx files
5. Your comment is contradictory:
Does it work when saving, or does it not? AFAIK, the 'wdApp_DocumentBeforeSave' module, if correctly implemented in a Class Module, should work for both 'Save' and 'Save As' procedures.

As I am travelling, I am not in a position to review this matter more fully right now.
I'm not sure if you still remember the issue of showing the name of the file and path on the title bar of the MS Access.

i got a code from the forum (with autoexec) which is implemented as the file open (attached), in this case, it writes the name and the path of the file on the title bar

I'm looking for such code that updates all the fields as we: save, save as, open and print.

best



Jamal
Attached Images
File Type: jpg Clip_41.jpg (100.4 KB, 59 views)
Attached Files
File Type: zip m.zip (15.6 KB, 14 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to update fields rhatx Word VBA 0 03-02-2011 12:14 PM
VBA to update certain (but not all) fields sparkyrose Word VBA 0 05-20-2010 12:50 PM
Can no longer update fields! slindsay Word 0 09-03-2009 05:10 PM
Automatically update text changes in word – Word 2007 webarnes Word 1 05-29-2009 02:48 PM
Automatically update text changes in Word - how do I do it? jonrm Word 2 05-21-2009 08:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:01 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