ReturnWhenDone Property

Applies To

RoutingSlip object.

Description

True if the workbook is returned to the sender when routing is finished. Read/write Boolean.

Remarks

You cannot set this property if routing is in progress

See Also

Delivery property, Message property, Recipients method, Subject property.

Example

This example sends Book1.xls to three recipients, one after another, and then it returns the workbook to the sender when routing has been completed.

Workbooks("Book1.xls").HasRoutingSlip = True
With Workbooks("Book1.xls").RoutingSlip
    .Delivery = xlOneAfterAnother
    .Recipients = Array("Adam Bendel", "Jean Selva", "Bernard Gabor")
    .Subject = "Here is Book1.xls"
    .Message = "Here is the workbook. What do you think?"
    .ReturnWhenDone = True
End With
Workbooks("Book1.xls").Route