Share via


RoutingSlip.Delivery Property

Excel Developer Reference

Returns or sets the routing delivery method. Can be one of the XlRoutingSlipDelivery constants. Read/write Long.

Syntax

expression.Delivery

expression   A variable that represents a RoutingSlip object.

Remarks

You cannot set this property if routing is in progress

Example

This example sends Book1.xls to three recipients, one after another.

Visual Basic for Applications
  Workbooks("BOOK1.XLS").HasRoutingSlip = True
With Workbooks("BOOK1.XLS").RoutingSlip
    .Delivery = xlOneAfterAnother
    .Recipients = Array("Adam Bendel", _
        "Jean Selva", "Bernard Gabor")
    .Subject = "Here is BOOK1.XLS"
    .Message = "Here is the workbook. What do you think?"
End With
Workbooks("BOOK1.XLS").Route

See Also