Document_BeforePrint event doesn't fire

M

Miriam

Hello,

I want to run some code in Document_BeforePrint event for ThisDocument word
object. My code is as below:

Private Sub Document_BeforePrint()
MsgBox "Let me know before print"
End Sub

When I try to print, the message doesn't come up. What is wrong and please
help!

Thanks a lot,
 
J

John McGhie

Hi Miriam:

See the topic " Using Events with the Document Object" in the Mac Word 2004
help.

I do not think the Document_BeforePrint event exists in Mac Word VBA. We do
not have a full implementation of VBA (in the next version, we won't have
any VBA at all...)

Hope this helps


Hello,

I want to run some code in Document_BeforePrint event for ThisDocument word
object. My code is as below:

Private Sub Document_BeforePrint()
MsgBox "Let me know before print"
End Sub

When I try to print, the message doesn't come up. What is wrong and please
help!

Thanks a lot,

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
+61 4 1209 1410, mailto:[email protected]
 

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