Everyone,
I am using "MyOutlook.Quit" command to close the instance of Outlook that I created but...
because the vba ruins faster than Outlook sends the email, I get the warning from Outlook about there being unsent messages in your outbox, exit without sending etc.
I there a method of quitting Outlook where it waits for Outlook to finish, other than putting a loop in to delay Access for a few seconds.
Thanks,
John
I am using "MyOutlook.Quit" command to close the instance of Outlook that I created but...
because the vba ruins faster than Outlook sends the email, I get the warning from Outlook about there being unsent messages in your outbox, exit without sending etc.
I there a method of quitting Outlook where it waits for Outlook to finish, other than putting a loop in to delay Access for a few seconds.
Thanks,
John