![]() |
#2
|
||||
|
||||
![]()
The macro is hitting the body of the document and may be missing floating text boxes and header/footers for instance. Also, if your fields are locked or protected by 'restricted editing' then it is possible this is causing your issue.
You may need to post a sample document so we can see what you have going on in your document. Have you changed Word versions since you last saw the macro working? Are you sure the macro is actually running? If you add a msgBox line in the code you can get feedback to know the code is being executed. Code:
Sub UpdateAllFields() MsgBox "Running the UpdateAllFields macro" ActiveDocument.Fields.Update End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resizing of Outlook Screen No Longer Works | abraxis | Outlook | 0 | 07-06-2018 05:38 AM |
![]() |
paulkaye | Word VBA | 6 | 06-13-2017 06:50 AM |
![]() |
Silkwood | Excel | 2 | 03-21-2017 02:25 PM |
2007 office key no longer works | millertime | Office | 6 | 02-19-2012 07:50 PM |
Ctrl+Home no longer works to get me to beginning of doc. | migdaw01 | Word | 0 | 01-13-2011 12:11 PM |