|
-
Dec 26th, 2007, 02:36 PM
#1
Thread Starter
New Member
MS Word Command button help
Hey Everyone,
I hope someone can help with this and I apologize if there is something on here just like this, I did try searching.
I have a form in a Word Document that has a Command Button that is acting as a " Submit " button that when is clicked will attach the document to a new mail message in Outlook to be returned to me through email. I was hoping there is a way to make it so that when the button is clicked, it attaches the document as well as inserts the email address that I am reached at automatically so that the sender only has to click " SEND."
The VB code I have for the Word Document so far is this:
Private Sub CommandButton1_Click()
Application.Options.ButtonFieldClicks = 1
Options.SendMailAttach = True
ActiveDocument.SendMail
End Sub
Any help with this would be greatly appreciated. I have practically no experience working with VB.
-Joe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|