Can I create a Macro to Auto-Reply once form is Sent?

G

Guest

I created a form and it works well. What I would like is once the person who
fills out the form clicks the Send button, the form goes to the
pre-designated recipients and the Sender gets an Auto-Reply that states
"Thank you for the form......."

Is there a way, using a Macro or something else, to get the form to
automatically generate the auto-reply e-mail?
 
S

Sue Mosher [MVP-Outlook]

You would need code behind the form. This will work only if the form is
published, which means you either need to publish it to the Organizational
Forms library in an Exchange organization or to each user's Personal Forms
library.
 
S

Sue Mosher [MVP-Outlook]

You would write VBScript code using the intrinsic Application and Item
objects that represent the Outlook.Application object and the current item.
Place it in the View Code window in the form in design mode. The event
handler that you'll use is Item_Send, and you'll use the Item.Reply method
to create the reply.

You might want to look at some sample forms that have code. See
http://www.outlookcode.com/d/forms.htm#samples

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top