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

Emailing: MS Outlook closes

Status
Not open for further replies.

shaunacol

Programmer
Jan 29, 2001
226
GB
I am using MS Access 2000 and sending emails with MS Outlook using the code in faq702-2921.

The only problem I have is that MS Outlook closes when the code has run and if Outlook was already open we would like it to stay that way.

I am sure I have seen another question regarding this but have searched and can't find it....

Any help appreciated, thanks.
 
You have to remove the following three lines of code:

**closes outlook
objOutlook.Quit
Set objEmail = Nothing


this will solve your problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top