L
Lee
Hi. I'm only new to VBA and use it only to create user forms for templates.
I have a template which has a user form that shows with a new document
(autonew - show form). The user then enters the information into the form
which in turn places the information throughout the document. (The code for
this sits in Sub cmdOK_Click [code runs when user presses the OK button]).
I want to add Options.UpdateFieldsAtPrint = True so that fields update when
document is printed but not exactly sure where to place it, e.g. in a new
module or in the code of the form or where?
I would appreciate anyone's help on this. Thanks
I have a template which has a user form that shows with a new document
(autonew - show form). The user then enters the information into the form
which in turn places the information throughout the document. (The code for
this sits in Sub cmdOK_Click [code runs when user presses the OK button]).
I want to add Options.UpdateFieldsAtPrint = True so that fields update when
document is printed but not exactly sure where to place it, e.g. in a new
module or in the code of the form or where?
I would appreciate anyone's help on this. Thanks