wanglei wrote:
> Hello, I have some problem with pywin32com programming in ms word? I
> have a macro code, but my program language is python-extension, I want
> to insert the macro into ms word?
> And the word object is created by pywin32com, like docApp =
> win32com.client.Dispatch('Word.Applicati
汪雷 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