Dim oMail As Outlook.MailItem
Dim oApp As Outlook.Application
' Not needed in Outlook VBA, just use Application there
Set oApp = CreateObject("Outlook.Application")
Set oMail = oApp.CreateItemFromTemplate("<oft file path, name>")
Take a look at the Application.CreateItemFromTemplate method. It takes the
path to the .oft file as an argument.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.