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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Word - Add recipient without warning

Status
Not open for further replies.

danomaniac

Programmer
Jan 16, 2002
266
US
I have a Word 2003 document (form letter) that we have people open, fill out, then email to a specific list of people. I have code in the document open event that expands the envelope header and populates the recipients with the list of people. Problem is, I get the warning message that a program is trying to access my outlook. The user still has to push 'Send' - so I'm not automatically sending the email, just populating the recipients. Any way to avoid the warning?

"It's more like it is now, than it ever has been."
 
Do a Google search for outlook object model guard

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 


Check out the CDO Object.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top