Workbook.RejectAllChanges Method (Excel)
Rejects all changes in the specified shared workbook.
Syntax
식 .RejectAllChanges(When, Who, Where)
식 A variable that represents a Workbook object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
When |
선택 |
Variant |
Specifies when all the changes are rejected. |
Who |
선택 |
Variant |
Specifies by whom all the changes are rejected. |
Where |
선택 |
Variant |
Specifies where all the changes are rejected. |
Example
This example rejects all changes in the active workbook.
ActiveWorkbook.RejectAllChanges