new message using stationary

  • Thread starter Thread starter tpitman
  • Start date Start date
T

tpitman

Does anyone know if there is a way of creating a macro which creates
new mail message, using a nominated stationary
 
You can't specify the stationery with VBA like you do in Options, but you
can parse the stationery's .html file to include it in the .HTMLBody
property:

Set fso = CreateObject("Scripting.FileSystemObject")
Set ts = fso.OpenTextFile("c:\testfile.htm", ForReading)
strText = ts.ReadAll
objMsg.HTMLBody = strText

See also:

http://www.slipstick.com/mail1/html.htm
 
Back
Top