Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2005

Tip: Looking for answers? Try searching our database.

Command button to e-mail current document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Miller - 26 Oct 2005 13:47 GMT
I'm glad this group has "beginner" in the title.

I have a form template and I'm just trying to put a command button on the
form that e-mails the current document when pressed.
This is what I attached to the click event of the button (from the help):

Private Sub CommandButton1_Click()
   Options.SendMailAttach = True
   ActiveDocument.SendMail
End Sub

BUT nothing at all happens when I press the button.  I'm taking the command
button out of design mode of course.  But nothing.  I then protect the
document so that the form is ready to be filled in.  But still nothing.  I
launch the template as a new document, but still nothing.

I've not coded in word, and generally I don't code anyway, but this seems
simple enough.  Can someone tell me what I'm missing?

Thanks for any direction!
Tim
Tim Miller - 26 Oct 2005 13:51 GMT
Disregard.  Security setting was too high apparently.

> I'm glad this group has "beginner" in the title.
>
[quoted text clipped - 17 lines]
> Thanks for any direction!
> Tim
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.