Macro to run when current doc printed?

L

Lee

Hello

Is it possible to have a macro triggered when a user prints the document.

i.e. is there an "on print" equivalent to "Private Sub Document_Open()"

Thanks

Lee
 
S

Steve Lang

Hi Lee,

Create a sub called FilePrint. That will replace the existing print command.
You can then do as you want to it, in addition to printing the document as
part of your custom command.

HTH and have a great day!

Steve
 
H

Helmut Weber

Hi Lee,
depending on your word-version,
there is an event "documentbeforeprint".
With using that, you are not a beginner any more.
Ask again, if you need more assistance.
 

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