I have already started off by using the Visual Basic Editor and creating a Macro. However I think I might have one of 2 problems. Or possibly 2 problems.
First when i try to run my code in Visual Basic Editor in Outlook it tells me that I do not have macros enabled. No i have already gone through and set the security down to the lowest level yet it still does not work.
Secondly I'm not quite sure that my code is executable. This is what I have:
Set myOlApp = CreateObject("Outlook.Application")
Set objMsg = myOlApp.CreateItem(olMailItem)
Set fso = CreateObject("Scripting.FileSystemObject")
Set ts = fso.OpenTextFile("c:\testfile.htm", 1, TristateFalse)
strText = ts.ReadAll
objMsg.HTMLBody = strText
I am trying to read an HTML message from an already existing HTML source on my hard drive! Please help!