Route Method

Microsoft Word Visual Basic

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.

expression.Route

expression    Required. An expression that returns a Document object.

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