AddRecipient Method

Microsoft Word Visual Basic

AddRecipient Method

       

Adds a recipient name to the specified routing slip.

Note If the recipient name isn't in the global address book, an error occurs.

expression.AddRecipient(Recipient)

expression   Required. An expression that returns a RoutingSlip object.

Recipient   Required String. The recipient name.

Example

This example routes the active document to two recipients, one after the other.

ActiveDocument.HasRoutingSlip = True
With ActiveDocument.RoutingSlip
    .Subject = "Status Document"
    .AddRecipient Recipient:="Tim O' Brien"
    .AddRecipient Recipient:="Karin Gallagher"
    .Delivery = wdOneAfterAnother
End With
ActiveDocument.Route