Route Method

Applies To

Workbook object.

Description

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

Syntax

expression.Route

expression Required. An expression that returns a Workbook object.

Remarks

Routing a workbook sets the Routed property to True.

See Also

Routed property, RoutingSlip property, SendMail method.

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