On 01-06-2011 10:59, Michel Claveau wrote:
> Hi!
>
> Try:
>    sel = self.app.Selection
>    sel.InlineShapes.AddPicture("C:\\monimage.jpg",False,True)
>
> @-salutations
thanks Michel,
works like a charm.

Maybe the code I posted was also (almost) good,
but I had another error too in my code.
But after trying 10 .. 20 different combinations, you loose control.
With your 2 lines of code it was easy to find that other code.

cheers,
Stef


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to