dialog to send outlook form

  • Thread starter Thread starter dh
  • Start date Start date
D

dh

Try to make sure that users press the send button at the correct time. We
have a custom Outlook form, thet gets opened several times, then is supposed
to be sent. I would like a dialog box to come up and ask if the user is
ready to send the form, Once they say ok, it will automatically send the
form.
Is this relatively easy to do?
Thanks!

DH
 
You can easily put up a message box with the MsgBox function and return the
user's choice. The issue is the sending -- users will get a security prompt
unless you're using Outlook 2003. See http://www.outlookcode.com/d/sec.htm
for your options with regard to this "object model guard" security .
 
The security prompt is not so much a problem as it is them forgetting to
send.
Can I then just use the oItem.Send function to get it to go?
Thanks!
DH
 
Yes, the Send method is the correct one to use.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top