Share via


Workbook.AcceptAllChanges Method

Accepts all changes in the shared workbook.

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 AcceptAllChanges ( _
    When As Object, _
    Who As Object, _
    Where As Object _
)
void AcceptAllChanges(
    Object When,
    Object Who,
    Object Where
)

Parameters

  • Who
    Type: System.Object

    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
    Type: System.Object

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

Remarks

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