View Single Post
 
Old 08-20-2019, 10:53 PM
Fabulist Fabulist is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Sep 2015
Posts: 33
Fabulist is on a distinguished road
Default Can page fields update automatically?

Hello,


I have a macro combination which updates all fields in the document and resizes and reshapes all objects with some of them conditionally.


Two pages before the last there is a { PAGE } field.


Not only I cannot find a way to have this field to be continuously updated, like for example the page fields on the footers are, but I cannot even figure out a way for it to be updated right after all fields are updated and objects reshaped from the macro.


The pages field is always being updated wrong and manual update is required, or to run the macro twice, which is a very lengthy process.


Is there a way to have such fields automatically updated always, or make a page-specific VBA code to only update said field?


Thanks.
Reply With Quote