![]() |
#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 |
#2
|
|||
|
|||
![]()
I recently tried using that method with the same results. I believe I read that it is not available from 2007 on up. I may be wrong, maybe someone else can chime in and either confirm or deny this. I have abandoned using it.
|
#3
|
||||
|
||||
![]()
It looks to have been replaced with a SendMail method which doesn't work as simply. Have a look at the following for a functional replacement.
https://groups.google.com/forum/#!to...al/wFgh5VZt8VE
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
PapaTom | PowerPoint | 7 | 02-25-2013 06:12 PM |
![]() |
Claytocb | Excel Programming | 1 | 02-01-2013 12:20 AM |
![]() |
brockjensen | Word | 1 | 11-02-2012 06:59 PM |
![]() |
rmw85 | Word VBA | 1 | 04-25-2012 01:02 PM |
![]() |
cksm4 | Word VBA | 7 | 02-27-2011 08:47 PM |