Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook Warning Message

Status
Not open for further replies.

101287

MIS
Apr 8, 2006
189
US
I have the following code but whe it gets to the read the email text is shows a message. Is there anyway that I can bypass that message?

'Reset the olitems object otherwise new incoming mails and moving mails get missed
Set OlItems = myfolder.Items
For Each OlMail In OlItems
Text = OlMail.Body ====> Display Outlook Message

Message says: "Program is trying to access your email addressess......

Guidance will be appreciated to bypass this warning.

Luis
 
Take a look towards the end of thread707-1513300 or search this forum for ClickYes.
 
Do a google search for outlook object model guard

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top