Route Method

Microsoft Excel Visual Basic

Routes the workbook, using the workbook's current routing slip.

expression.Route

expression    Required. An expression that returns a Workbook object.

Remarks

Routing a workbook sets the Routed property to True.

Example

This example creates a routing slip for Book1.xls and then sends the workbook to three recipients, one after another.

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?"
End With
Workbooks("BOOK1.XLS").Route