Recipients Property

Microsoft Word Visual Basic

Recipients Property

       

Returns a recipient name from the specified routing slip. Read-only Variant.

expression.Recipients(Index)

expression   Required. An expression that returns a RoutingSlip object.

Index   Optional Variant. A number that specifies the recipient (in the list of recipients).

Example

This example adds a recipient to the routing slip attached to Sales.doc and then displays the name of the first recipient.

If Documents("Sales.doc").HasRoutingSlip = True Then
    Documents("Sales.doc").RoutingSlip.AddRecipient _
        Recipient:="Aaron Con"
    MsgBox Documents("Sales.doc").RoutingSlip.Recipients(1)
End If