[python-win32] Importing pictures in a worddocument in python?

Tim Roberts timr at probo.com
Wed Jul 6 21:48:03 CEST 2011


Andreasson Eskil wrote:
>
> Is this possible??
>

Of course.  The Microsoft Office applications are controllable at a very
fine-grained level.

That doesn't mean it's going to be easy.  Generally, the way to start a
task like this is to record a VB macro of the action you want to take,
then figure out how to translate that VB code into Office calls.  There
is good documentation on the Word object model, although naturally it's
all oriented toward VB and C# programming.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list