ROUTING.SLIP macro

Equivalent to clicking the Add Routing Slip command on the File menu. Adds or Edits the routing slip attached to the current workbook.

Syntax

ROUTING.SLIP(recipients,subject, message, route_num, return_logical, status_logical)

ROUTING.SLIP?(recipients,subject, message, route_num, return_logical, status_logical)

Recipients    is the name of the person to whom you want to send the mail. The name should be given as text.

Subject    is a text string containing the subject text used for the mail messages used to route the workbook. If omitted, the default subject line is "Routing: name", where name is the file name or title as displayed in the Summary Info dialog box, if available.

Message    is a text string containing the body text used for the mail messages used to route the workbook.

Route_num    is a number indicating the type of routing method.

Route_num

Method

1 or omitted

One after another routing

2

All at once routing

Return_logical    is a logical value which, if TRUE or omitted, indicates that the routing should be returned to the originator when the routing is complete. If FALSE, the routing will end with the last recipient in the To list box in the Routing Slip Dialog box.

Status_logical    is a logical value corresponding to the Track Status check box in the Routing Slip dialog box. If TRUE or omitted, status tracking messages for the routing are sent. FALSE means that no status tracking is performed.

Remarks

Related Functions

ROUTE.DOCUMENT   Routes the workbook using the defined routing slip information

SEND.MAIL   Sends the active workbook using email

Return to index