[python-win32] python-win32 with vba

汪雷 wanglei211 at mails.gucas.ac.cn
Thu Jul 19 01:35:18 CEST 2012


 Hi, I don't know how to handle ms word's events.
 By VBA, the code is as following:
> Private Sub Ducoment_Open():
>     my code
> End Sub.
 The code in ms word macro is to capture the 'Open' event, when the word
 is opened, my code will be executed. How can I perform by python-win32.
 Thanks
 Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20120719/44b99ae9/attachment.html>


More information about the python-win32 mailing list