J
jon.mullich
I am trying to create a macro that will route the file as an e-mail. The
first few times I tried it, it worked great, but then it began crashing the
program. I don't know what I did wrong, can you help? The macro is:
Sub Routing()
'
' Routing Macro
' Macro created 04/13/2006 by MullichJon
'
ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
.Subject = "ORDER SHIPMENT"
.AddRecipient " e-mail@adress"
.Delivery = wdAllAtOnce
End With
ActiveDocument.Route
End Sub
first few times I tried it, it worked great, but then it began crashing the
program. I don't know what I did wrong, can you help? The macro is:
Sub Routing()
'
' Routing Macro
' Macro created 04/13/2006 by MullichJon
'
ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
.Subject = "ORDER SHIPMENT"
.AddRecipient " e-mail@adress"
.Delivery = wdAllAtOnce
End With
ActiveDocument.Route
End Sub