Route Method

Applies To

Workbook Object.

Description

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

Syntax

object.Route

object

Required. The 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