Partilhar via


WorkbookBase.ReplyWithChanges Method

Sends an e-mail message to the author of a workbook that has been sent out for review, notifying him or her that a reviewer has completed review of the workbook.

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

Syntax

'Declaration
Public Sub ReplyWithChanges ( _
    showMessage As Object _
)
public void ReplyWithChanges(
    Object showMessage
)

Parameters

  • showMessage
    Type: System.Object

    true to display the message; false to not display the message.

Remarks

Use the SendForReview method to start a collaborative review of a workbook. If the ReplyWithChanges method is executed on a workbook that is not part of a collaborative review cycle, an exception is thrown.

Optional Parameters

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

Examples

The following code example uses the ReplyWithChanges method to send a notification to the author of a review workbook that a reviewer has completed a review, after displaying the e-mail message. This example assumes that the active workbook is part of a collaborative review cycle.

This example is for a document-level customization.

Private Sub WorkbookReplyWithChanges()
    Me.ReplyWithChanges(True)
End Sub
private void WorkbookReplyWithChanges()
{
    this.ReplyWithChanges(true);
}

.NET Framework Security

See Also

Reference

WorkbookBase Class

Microsoft.Office.Tools.Excel Namespace