Execute some code before printing a document

A

Agostino

Is it possible?
I 've to ensure that some words have not been used in the document.
Does really word have just the events NewDocument, OpenDocument,
CloseDocument?
thanks
Agostino

--

----------------------------------------------------------------
CEDAP Informatica SRL
via Caboto 20/c
33170 Pordenone
italy
----------------------------------------------------------------
 
S

Steve Lang

Ciao Agostino,

Write a sub called FilePrint. It will run when a user prints a document
Depending on where you scope the sub,it will intercept all print commands
for that scope. For example, putting it in a template will intercept all
print commands for documents based on that template.

HTH and have a great day!

Steve
 

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