REAL-TIME

VBA Projects

Full Access with Source Code
  • Designed and Developed by PNRao

  • Full Access with VBA Source Code

  • Well Commented Codes Lines

  • Creative and Professional Design

Effortlessly
Manage Your Projects

120+ Project Management Templates

Seamlessly manage your projects with our powerful & multi-purpose templates for project management.

120+ PM Templates Includes:
  • 50+ Excel Templates

  • 50+ PowerPoint Templates

  • 25+ Word Templates

Share Post

RejectAllChanges Workbook method in VBA is used to rejects all changes in the specified or mentioned shared workbook. Shared workbook can have more than one user to edit, delete or change to the workbook.

VBA RejectAllChanges Method Excel Workbook Object

Why we use RejectAllChanges Workbook Metod using VBA?

Shared workbook may have multiple users. Sometimes we may not needed the changes or modifications by the user, in that time we will reject all the changes by using RejectAllChanges workbook method using VBA.

VBA RejectAllChanges Workbook Method- Syntax

Here is the syntax to RejectAllChanges workbook method using VBA.

Workbooks(“Your Workbook Name”).RejectAllChanges(

[When], [Who], [Where])

Here,
When: It is an Optional parameter. It specifies when(time) all the changes are rejected in the workbook.
Who: It is an Optional parameter. It specifies all the changes are rejected by whom.
Where: It is an Optional parameter. It specifies where all the changes are rejected.
In the above syntax Workbook is object and VBA RejectAllChanges method of Workbook object.

VBA RejectAllChanges Workbook Method: Example 1

Here is the syntax to VBA RejectAllChanges Workbook method using VBA.

Sub Workbook_RejectAllChanges()
    ActiveWorkbook.RejectAllChanges
End Sub

VBA RejectAllChanges Workbook Method- Instructions

Please follow the below step by step instructions to execute the above mentioned VBA macros or codes:

  1. Open an Excel Workbook
  2. Press Alt+F11 to Open VBA Editor
  3. Insert a Module from Insert Menu
  4. Copy the above code for activating a range and Paste in the code window(VBA Editor)
  5. Save the file as macro enabled workbook
  6. Press ‘F5’ to run it or Keep Pressing ‘F8’ to debug the code line by line.
Effortlessly Manage Your Projects and Resources
120+ Professional Project Management Templates!

A Powerful & Multi-purpose Templates for project management. Now seamlessly manage your projects, tasks, meetings, presentations, teams, customers, stakeholders and time. This page describes all the amazing new features and options that come with our premium templates.

Save Up to 85% LIMITED TIME OFFER
Project Management Templates

All-in-One Pack
120+ Project Management Templates

Essential Pack
50+ PM Templates

Excel Pack
50+ Excel PM Templates

PowerPoint Pack
50+ Excel PM Templates

MS Word Pack
25+ Word PM Templates

Ultimate Project
Management Template
Ultimate Resource
Management Template
Project Portfolio
Management Templates
Last Updated: March 2, 2023

Leave A Comment