Outlook Form Command Button Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm wondering if it's possible and if anyone can point my in the right
direction as to where I can pull some code to modify. I have an outlook form
which I need a vote or command button (2 in total depending on whats used)
which will include the original message in the response. If you use vote the
original message is not included so I'm wondering if there's a script for a
command button that would basically act as the reply button but add one word
at the beginning of the e-mail.
 
At its simplest:

Sub CommandButton1_Click()
Set reply = Item.Reply
reply.Body = "One word at the beginning" & vbCrLf & vbCrLf & reply.body
End Sub

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top