Application Events in Word

User avatar
kdock
5StarLounger
Posts: 720
Joined: 21 Aug 2011, 21:01
Location: The beautiful hills of Western North Carolina

Application Events in Word

Post by kdock »

I've only made use of Application Events in the ThisDocument module.

Now I want to make use of Application.DocumentBeforeClose in a class module in a global template. If another add-in has already defined such an event, can I define my own event as well? I have access to the other add-in's code - can I / should I piggy-back onto that?

What's the wisdom on this? I don't want to create dueling events, but does that happen?

Thanks!
Kim
"Hmm. What does this button do?" Said everyone before being ejected from a car, blown up, or deleting all the data from the mainframe.

User avatar
Jan Karel Pieterse
Microsoft MVP
Posts: 656
Joined: 24 Jan 2010, 17:51
Status: Microsoft MVP
Location: Weert, The Netherlands

Re: Application Events in Word

Post by Jan Karel Pieterse »

Yes, you can add your own, Word will trigger each one. Whether any conflicts arise will completely depend on what the events actually do :-)
Regards,

Jan Karel Pieterse
Excel MVP jkp-ads.com

User avatar
kdock
5StarLounger
Posts: 720
Joined: 21 Aug 2011, 21:01
Location: The beautiful hills of Western North Carolina

Re: Application Events in Word

Post by kdock »

Thank you Jan. I'll give it a try and see if there are any.

Best,
Kim
"Hmm. What does this button do?" Said everyone before being ejected from a car, blown up, or deleting all the data from the mainframe.