ReturnWhenDone Property

Applies To

RoutingSlip Object.

Description

True if the workbook is returned to the sender when the routing is finished. Read-write before routing begins; read-only when routing is in progress.

Example

This example sends BOOK1.XLS to three recipients, one after the other, and returns the workbook to the sender when routing is complete.


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