Freigeben über


Workbook.SendForReview Method

Sends a workbook in an e-mail message for review to the specified recipients.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Sub SendForReview ( _
    Recipients As Object, _
    Subject As Object, _
    ShowMessage As Object, _
    IncludeAttachment As Object _
)
void SendForReview(
    Object Recipients,
    Object Subject,
    Object ShowMessage,
    Object IncludeAttachment
)

Parameters

  • Recipients
    Type: System.Object

    The people to whom to send the message. These can be unresolved names and aliases in an e-mail phone book or full e-mail addresses. Separate multiple recipients with a semicolon (;). If left blank and ShowMessage is false, you will receive an error message, and the message will not be sent.

  • Subject
    Type: System.Object

    The subject of the message. If left blank, the subject will be: Please review "filename ".

  • ShowMessage
    Type: System.Object

    A value that indicates whether the message should be displayed when the method is executed. The default value is true. If set to false, the message is automatically sent to the recipients without first showing the message to the sender.

  • IncludeAttachment
    Type: System.Object

    A value that indicates whether the message should include an attachment or a link to a server location. The default value is true. If set to false, the document must be stored at a shared location.

Remarks

This method starts a collaborative review cycle. Use the EndReview method to end a review cycle.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace