Discussion:
Handling Word Events in COM add-in
(too old to reply)
jchau
2006-06-28 18:22:01 UTC
Permalink
I created an VB6 COM add-in that works for both Word and Powerpoint. I have
a global Object variable that references the application. How can I handle
events (such as document close) in my add-in if I can't create a WithEvents
reference to the application?
Jonathan West
2006-06-28 19:27:13 UTC
Permalink
Post by jchau
I created an VB6 COM add-in that works for both Word and Powerpoint. I have
a global Object variable that references the application. How can I handle
events (such as document close) in my add-in if I can't create a WithEvents
reference to the application?
You can't
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Loading...