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.Objecttrue 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.