launching msg file at loading
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I have .msg file( outlook email) and successfully loaded the msg file into the outlook in the notes folder. However, I can't launch the loaded email. Here is how I did in order to launch the outlook note. Dim objNameSpace As Outlook.NameSpace Dim objMAPIFolder As Outlook.MAPIFolder Dim objMailItem As Outlook.MailItem Set objMAPIFolder = objNameSpace.GetDefaultFolder(olFolderNotes) Set objNoteItem = otlkDoc.CreateItemFromTemplate(str_FileName) objNoteItem.Move objMAPIFolder objNoteItem.Save objNoteItem.Display 1