Promt Window

Tech-Archive recommends: Fix windows errors by optimizing your registry



Sub
Dim myolApp As Outlook.Application
Dim myNamespace As Outlook.NameSpace
Dim myMailItem As Outlook.MailItem
Set myolApp = Outlook.Application
Set myNamespace = myolApp.GetNamespace("MAPI")
Set myMailItem = myNamespace.OpenSharedItem(fileNameMSG)
myMailItem.SaveAs fileNameRTF, olRTF
myMailItem.Close olDiscard
End Sub

When I have .msg file with digital signature, while running makros, Outlook
asks user "You try to save encrypting message in unsafe format. Continue?"
Can I set automatically answer "YES" and how?
How can I check, is there promt window or not?

Thanks

.



Relevant Pages

  • Re: find sender info
    ... Dim myolApp As Outlook.Application ... Dim myNamespace As Outlook.NameSpace ... Dim myRecipient As Outlook.Recipient ...
    (microsoft.public.outlook.program_vba)
  • Re: Loop through all folders in a mailbox
    ... Dim myOlApp As Application ... Dim myNameSpace As NameSpace ... Dim myFolder As MAPIFolder ...
    (microsoft.public.outlook.program_vba)
  • Re: Close document
    ... Dim myolApp As Outlook.Application ... Dim myNamespace As Outlook.NameSpace ... Dim myMailItem As Outlook.MailItem ...
    (microsoft.public.outlook.program_vba)
  • RE: Confirmation message before sending e-mail
    ... Dim myolApp As Outlook.Application ... Dim myNamespace As Outlook.NameSpace ... Dim SendingItem As Outlook.MailItem ...
    (microsoft.public.outlook.program_vba)
  • Re: This macro to auto-fill all e-mail fields worked in 2003; not
    ... Dim myOlApp As New Outlook.Application ... That statement should never appear in Outlook VBA code. ... This shows that you have to get the account from the Application.Session.Accounts collection. ...
    (microsoft.public.outlook.program_vba)