This documentation is archived and is not being maintained.

Workbook.RejectAllChanges Method

Rejects all changes in the shared workbook.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual void RejectAllChanges (
	[OptionalAttribute] Object When,
	[OptionalAttribute] Object Who,
	[OptionalAttribute] Object Where
)

Parameters

When

One of the XlHighlightChangesTime values that specifies when the changes to be rejected were made.

Who

A string that identifies who made the changes to be rejected. Can be "Everyone", "Everyone but Me", or the name of one of the users of the shared workbook.

Where

An A1-style range reference that specifies the location of the changes to be rejected.

Optional Parameters

For information on optional parameters, see Understanding Optional Parameters in COM Interop.

Show: