Sticking a picture

J

Jacky Luk

I am wondering if I just want to stick a picture on an email, remember not
attaching to it, is it possible to do this in outlook? In outlook express,
you can choose from sticking or attaching a picture, but in VBA, can you
programmatically sticking it on an email?....
I tried this for attaching before
With oAttachment(0)
.filepath = "C:\123.gif"
......
end with
Could anyone help?
Thanks
Jack
 
K

Ken Slovak - [MVP - Outlook]

It would have to be done using HTML code in the HTMLBody property of the
item, the reference to the picture must be local or you'll get that red X
where the picture should be and all collections in Outlook such as
Attachments start at index 1, not 0.
 
Top