Promt Window

G

Guest

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
 
G

Guest

Unless you change your SaveAs format, you will continue to get prompted and
there's nothing in the Outlook Object Model that you can set to suppress it.
 
G

Guest

I can use SendKeys and it helps. But SendKeys has additifity property. I will
have situations when I need it and don't need it. Can I know, is there promt
window or not?

Thanks
 

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.

Ask a Question

Top