Has anyone out there ever succeeded in using OlSecurityManager to turn off the Outlook security warnings?
I found the following suggestion
I have the Outlook library added as a reference, but I've been unable to get the compiler to recognise Outlook.SecurityManager, it doesn't seem to exist in the library.
Is there some other Outlook library I have to Reference?
I found the following suggestion
Code:
Dim OlSecurityManager As Outlook.SecurityManager
Dim oApp As Outlook.Application
Set oApp = CreateObject("Outlook.Application")
OlSecurityManager.ConnectTo oApp
OlSecurityManager.DisableOOMWarnings = True
' code
OlSecurityManager.DisableOOMWarnings = False
I have the Outlook library added as a reference, but I've been unable to get the compiler to recognise Outlook.SecurityManager, it doesn't seem to exist in the library.
Is there some other Outlook library I have to Reference?