Quote:
Originally Posted by Ddadoo57
Thank you Gmayor,
I will adapt the code to my needs and send you back what I have modified and/or added. Maybe it will help someone a little bit too.
If not, I only had hidden fields in the headers, not in the footers. It's amazing that it takes that into account.
Best regards,
|
Hello,
The problem I have now is that when updating the fields, for each footer, the screen display changes, it goes from normal mode to draft mode or something like that, and it's not great for the user.
I partly solve this problem with :
Application.Visible = False
...
Application.Visible = True
ActiveWindow.View.Type = wdNormalView
ActiveWindow.View.Type = wdPrintView
Well, it's not great, since the application disappears and comes back once the job is done.
Is there any solution to keep the screen from moving or changing, like "oFooter.Range.Delete" does so nicely?
Best regards,
David