Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't email images in word doc created by vba

Status
Not open for further replies.

mikeyd

Technical User
Jan 28, 2002
38
US
I am using vba to create a word doc and then fax or email it out.
The problem I run into is that once I email it or fax it the images do not show up, just the text.
I also have the same issue if I save it as a html file. My guess is because the images are on my harddrive others can not see it.

What do I have to do to embed the images so that they will appear when emailed or fax through a vba script?

Thanks in advance.
 
Have you looked up Help on how to embed image files?

Also, it may help to post some code, in order to see what exactly you are doing.

You certainly can embed images into a Word file. The file size increases of course.

There IS a way to just link images within a Word file, but still allow someone to see/get the images, if those images are on a web server. This uses WinHTTP.DLL to pull the images down using HTTP. But from your local hard drive...no, you have to embed them.

Gerry
 
Thank you.
I will check the help section. I also heard that I may be able to use the OLE function to get this done.
I am going to research that option as well.
thanks again,

Mikey D.

 
Yes you can use OLE. There are a lot of options.

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top