This documentation is archived and is not being maintained.

Workbook.AcceptAllChanges Method

Accepts 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 AcceptAllChanges (
	[OptionalAttribute] Object When,
	[OptionalAttribute] Object Who,
	[OptionalAttribute] Object Where
)

Parameters

When

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

Who

A string that identifies who made the changes to be accepted. 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 accepted.

Optional Parameters

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

Show: