If you are using Word as the email editor, you'd use Word's
Selection.InsertAfter method to add text at the insertion point. In the
regular Outlook editor, you'd have to use a copy/paste kludge.
FYI, programming questions should be addressed to the
microsoft.public.outlook.program_vba newsgroup.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at
http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Bob Marquette" <(E-Mail Removed)> wrote in message
news:0e9901c3be9c$63954b50$(E-Mail Removed)...
> I am automating Outlook from a VB application. I have a
> scenario where I would like to add an attachment as text
> in the body of the message. This is done in the UI by
> selecting Insert | File... , then using the drop-down on
> the Insert button and selecting Insert as Text.
>
> Does anyone know of a way of doing this via the object
> model?
>