[python-win32] How to insert macro into ms word by using python?

wanglei wanglei at nelmail.iie.ac.cn
Thu Jul 19 04:16:11 CEST 2012


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.Application')  doc = docApp.Documents.Add().
Do you give me any ideas? Thanks very much.
Regards.




Wang Lei,
Information Security Research Center,
Institute Of Information Engineering,
Chinese Academy Of Sciences.
Phone Number:010-82546727.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20120719/4ad8eca1/attachment.html>


More information about the python-win32 mailing list