Sunday, June 01, 2008

Check if Code is Trusted Outlook VBA

Check if Code is Trusted Outlook VBA

Function IsCodeTrusted() As Boolean

IsCodeTrusted = Application.IsTrusted

End Function

For out-of-process callers that have instantiated the Application object, IsTrusted always returns False. For Outlook add-ins, IsTrusted returns True if and only if the add-in is considered trusted by Outlook.

See also:

Creating Digital Signature for VBA Project (Outlook VBA / Excel VBA/ Word VBA)

No comments:

Post a Comment

StumbleUpon
Share on Facebook
Related Posts Plugin for WordPress, Blogger...
Download Windows Live Toolbar and personalize your Web experience! Add custom buttons to get the information you care about most.