Partilhar via


WorkbookBase.RejectAllChanges Method

Rejects all changes in the shared 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 RejectAllChanges ( _
    when As Object, _
    who As Object, _
    where As Object _
)
public void RejectAllChanges(
    Object when,
    Object who,
    Object where
)

Parameters

  • who
    Type: System.Object

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

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

Remarks

Optional Parameters

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

.NET Framework Security

See Also

Reference

WorkbookBase Class

Microsoft.Office.Tools.Excel Namespace