Re: [python-win32] python-win32 with vba

2012-07-20 Thread Tim Roberts
汪雷 wrote: > 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 b

[python-win32] python-win32 with vba

2012-07-18 Thread 汪雷
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 Reg