Disable "Update Fields" from VBA

T

telenieko

Hi there,
My word users have the ceckbox "Update Fields" on the Print tab of
Options marked, because some documents need it.

But for some other documents I need to uncheck this box, so: How can I
uncheck that option from a Macro or VBA Sub ?

Thanks,
Marc.
 
H

Helmut Weber

Hi Marc,

basically it is:

options.UpdateFieldsAtPrint = false

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
S

Stefan Blom

Another approach is to lock the fields that you don't want to update.
Just select them and press Ctrl+F11. (If you later want to unlock
them, select them and press Ctrl+Shift+F11.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top