Submit Forms

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

Guest

I notice that a few other people have asked this question, with no responses.
If there is no way to accomplish this, please let me know!

I would like to include a button at the end of my survey that will be posted
on our website. It would e-mail the completed Word form as an attachement to
me.

How do I create this? If it requires code, please include the code. :)

Thanks!
 
This code should work:

Sub FollowLink1()
ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
.Subject = "put in the subject here"
.AddRecipient "(e-mail address removed)"
.Delivery = wdAllAtOnce
End With
ActiveDocument.Route
End Sub

found at: http://word.mvps.org/faqs/interdev/sendmail.htm

attched this to a form button or marke a marco button.
 
Back
Top