![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() In VBA (Office 2003), I am trying to create a new email and set the body text to a saved HTML document but my graphic is not being displayed. I have used the following combinations of code (each try is commented out) but without success. If I use .mht and open the email in the Outbox the graphic appears but when I save and reopen it, it appears as a placeholder only, not the graphic. I would appreciate any ideas. Thanks, Graham. Dim fso As FileSystemObject Dim ts As TextStream Dim strText As String Set fso = CreateObject("Scripting.FileSystemObject") 'Set ts = fso.OpenTextFile("g:\Medics Away\Mailing Documents\RepplyF.htm", ForReading) Set ts = fso.OpenTextFile("g:\Medics Away\Mailing Documents\Repply.htm", ForReading) 'Set ts = fso.OpenTextFile("g:\Medics Away\Mailing Documents\Repply.mht", ForReading) 'Set ts = fso.OpenTextFile("g:\Medics Away\Mailing Documents\Repply.mht.doc", ForReading) 'Set ts = fso.OpenTextFile("g:\Medics Away\Mailing Documents\Repply.htm.doc", ForReading) strText = ts.ReadAll mai1.HTMLBody = strText -- grahamproctor ------------------------------------------------------------------------ grahamproctor's Profile: http://www.officehelp.in/member.php?userid=6171 View this thread: http://www.officehelp.in/showthread.php?t=1325714 Posted from - http://www.officehelp.in |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML olAppointment Body? | Tony Gravagno | Add-ins for Outlook | 5 | December 19th 06 09:53 PM |
HTML in Task Body | K Passaur | Outlook and VBA | 2 | August 21st 06 05:22 AM |
mailto - html in body | Giorgio | Outlook Express | 7 | June 21st 06 02:41 PM |
Graphics in HTML Body | GeorgeMar | Outlook and VBA | 2 | February 27th 06 02:17 PM |
sending html in body of outlook xp email | Help a Novice Please | Outlook - General Queries | 3 | February 22nd 06 06:50 AM |