Submit button

G

glenn

I'm new to Outlook forms and want to add a "Submit"
button on an Outlook form which "replicates" the send
action.

Adding the button is easy!
but how do you assign the "send_item" code to the button?

Thanks
 
S

Sue Mosher [MVP]

Sub CommandButton1_Click()
Item.Send
End Sub

Note that this will probably trigger an Outlook security prompt unless
you're using Outlook 2003 and the form is published.
 
G

Glenn

OH!

that was a little too easy :)

Thanks

-----Original Message-----
Sub CommandButton1_Click()
Item.Send
End Sub

Note that this will probably trigger an Outlook security prompt unless
you're using Outlook 2003 and the form is published.
--
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