Route Method

Applies To

Document object.

Description

Routes the specified document, using the document's current routing slip.

Remarks

If the document doesn't have a routing slip, an error occurs. Use the HasRoutingSlip property to determine whether there's a routing slip attached to the document. Routing a document sets the Routed property to True.

Syntax

expression.Route

expression Required. An expression that returns a Document object.

See Also

HasRoutingSlip property, Routed property, Status property.

Example

If the active document has a routing slip attached to it, this example routes the document.

If ActiveDocument.HasRoutingSlip = True Then ActiveDocument.Route
This example routes Feedback.doc to two recipients, one after the other.

Documents("Feedback.doc").HasRoutingSlip = True
With Documents("Feedback.doc").RoutingSlip
    .Subject = "Your feedback please..."
    .AddRecipient Recipient:="Tad Orman"
    .AddRecipient Recipient:="David Simpson"
    .Delivery = wdOneAfterAnother
End With
Documents("Status.doc").Route