To all:
Here is what I did:
Dim olMailItem As Object
Dim strTemplPath As String
Dim myOlApp As Outlook.Application
strTemplPath = "TemplatePath\TemplateName.oft"
Set myOlApp = CreateObject("Outlook.Application")
Set olMailItem = myOlApp.CreateItemFromTemplate(strTemplPath)
'*************************************************'
TemplatePath and TemplateName are just place holders you must specify the actual Name and Path of the template.
After you set the olMailItem variable you can add all your other MailItem attributes (To, Subject, etc.)
I hope this helps.
Here is what I did:
Dim olMailItem As Object
Dim strTemplPath As String
Dim myOlApp As Outlook.Application
strTemplPath = "TemplatePath\TemplateName.oft"
Set myOlApp = CreateObject("Outlook.Application")
Set olMailItem = myOlApp.CreateItemFromTemplate(strTemplPath)
'*************************************************'
TemplatePath and TemplateName are just place holders you must specify the actual Name and Path of the template.
After you set the olMailItem variable you can add all your other MailItem attributes (To, Subject, etc.)
I hope this helps.