View Single Post
  #6  
Old November 15th 07, 10:22 AM posted to microsoft.public.outlook.program_vba
Wolfgang Kais[_2_]
external usenet poster
 
Posts: 3
Default Insert an image in a new email

Thanks to both of you.

I agree that it was all simple if the users selected Word as their email
editor, but I can't predict that.
I found the following: http://www.outlookcode.com/d/code/htmlimg.htm
That seems a little complicated, but maybe I'll give it a try.

Thanks again!
--
Regards,
Wolfgang

"Sue Mosher [MVP-Outlook]" wrote in "quoted printable":
Just to add to what Ken says, if Word is the email editor, you have an
additional option: Return a Word.Document object using the
Inspector.WordEditor method, then use Word methods to insert a picture. In
this instance, the Word macro recorder can be your friend.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Wolfgang Kais" wrote in message
...
Dear newsgroup.

I am trying to insert a picture into a new email using vba code in Outlook
2003. The attachments.add method seems to add an attachment (or an icon),
but what I want is to automate the functionality of the menu command
"Insert
Picture" that will display the picture inline. How can this be done using
VBA?

Thanks in advance,
Wolfgang




Ads