![]() |
|
#1
|
|||
|
|||
|
Hi All,
I hope someone can help me out. I've created an incident record form and am trying to include a command button at the bottom of the document that will automatically send it to my email when its filled out. I've tried the below macro for the command button but am having some issues; The second line keeps giving the message "<that method is not available on that object>". I'm really not sure what i'm doing, if anyone could help it's be greatly appreciated. Thanks Smalc Private Sub CommandButton1_Click() ActiveDocument.HasRoutingSlip = True With ActiveDocument.RoutingSlip .Subject = "incident" .AddRecipient "dutymanager@susu.org" .Delivery = wdAllAtOnce End With ActiveDocument.Route End Sub |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Newbie Wants to Add Print Command Button!
|
PapaTom | PowerPoint | 7 | 02-25-2013 06:12 PM |
Command Button to Print Labels
|
Claytocb | Excel Programming | 1 | 02-01-2013 12:20 AM |
Command Button will not work when document is protected
|
brockjensen | Word | 1 | 11-02-2012 06:59 PM |
Command Button doesnt work on network
|
rmw85 | Word VBA | 1 | 04-25-2012 01:02 PM |
Command Button
|
cksm4 | Word VBA | 7 | 02-27-2011 08:47 PM |