This documentation is archived and is not being maintained.

Workbook.Route Method

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

Syntax

expression.Route

expression   A variable that represents 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.

Visual Basic for Applications
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



Show: