Document.Route Method

Word Developer Reference

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

Syntax

expression.Route

expression   Required. A variable that represents a Document object.

Remarks

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

Example

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

Visual Basic for Applications
  If ActiveDocument.HasRoutingSlip = True Then ActiveDocument.Route

This example routes Feedback.doc to two recipients, one after the other.

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