Delivery Property

Microsoft Word Visual Basic

Delivery Property

       

Returns or sets the delivery method used for routing the document. Read/write WdRoutingSlipDelivery. Read/write Long before routing starts; read-only Long while routing is in progress.

WdRoutingSlipDelivery can be one of these WdRoutingSlipDelivery constants.
wdAllAtOnce
wdOneAfterAnother

expression.Delivery

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example routes the document named "Status.doc" to two recipients, one after the other.

Documents("Status.doc").HasRoutingSlip = True
With Documents("Status.doc").RoutingSlip
    .Subject = "Status Doc"
    .AddRecipient Recipient:="Don Funk"
    .AddRecipient Recipient:="Eric Maffei"
    .Delivery = wdOneAfterAnother
End With
Documents("Status.doc").Route