Qusetion about "On print event" in VBA of MS Word!

P

Pat

Hi All,

Does anyone know which "Event" I can use for programming in VBA of Word when
print a document.

The situation is I want to create a new Word-Template with a couple of check
boxes. At moment that I want to print this document, what I want is depend on
the status of the check-boxes, some of the fields will filled or not. So what
i need is to know which event will gone before/when document is print.

I guest the event "DocumentBeforePrint" will be go, am i right?

Regards,

Pat
 
J

Jezebel

You might find it more effective to trap the print command itself: write
macros called FilePrint and FilePrintDefault -- these will run in place of
the built-in commands.
 
P

Pat

Hi Weber,

Thanks for your advices, I still get the problem that I can't get the object
"CheckBox". What i have done is add some "CheckBox" control. And add some
code to the new event "DocumentBeforePrint". At this fase i can't get all the
control-object "CheckBox". did anyone know how?

Regards,

Pat
 

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