View Single Post
  #2  
Old November 14th 07, 02:25 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Insert an image in a new email

You can find the ID of that button in the menus and call its Execute method,
that will open that dialog but not automate it further. Other than that
you'd have to create your own replica dialog.

You can automate inserting an attachment as an embedded object if you want,
or attach it using code in any of the other supported ways but that's about
it.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"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