Skip to main content
 

How to delete all comments in a worksheet/workbook?

Author: Sun Last Modified: 2024-08-23

In general, most of users know how to remove one comment in Excel, but when you have a worksheet or workbook with multipel comments, do you know the way to mass remove all of the comments? Now I tell you some quick ways to remove all comments from a worksheet or a whole workbook.

Delete all comments in a worksheet with Delete in Excel

Delete all comments in a worksheet with Go to function in Excel

Delete all comments in a worksheet or workbook with VBA

Reset all comments’ locations with Kutools for Excel


arrow blue right bubble Delete all comments in a worksheet with Delete in Excel

You can use shortcut to select all comments in a worksheet and then delete them.

1. Open the worksheet you want to remove all comments and press Ctrl + A to select the whole sheet.

2. Then click Review > Delete, then all the comments in the current worksheet are removed. See screenshot:
click Review > Delete to delete all comments in active sheet

a screenshot of kutools for excel ai

Unlock Excel Magic with Kutools AI

  • Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
  • Custom Formulas: Generate tailored formulas to streamline your workflows.
  • VBA Coding: Write and implement VBA code effortlessly.
  • Formula Interpretation: Understand complex formulas with ease.
  • Text Translation: Break language barriers within your spreadsheets.
Enhance your Excel capabilities with AI-powered tools. Download Now and experience efficiency like never before!

arrow blue right bubble Delete all comments in a worksheet with Go to function in Excel

In Excel, if you want to delete all comments in a worksheet, you can do these:

1. Press F5 to show the Go To dialog, and click Special… to open Go To Special dialog, then check Comments and click OK to close the dialog. See screenshots:

click Special in the Go To dialog boxcheck Comments in the Go To Special dialog box

2. Then right click to open context menu and click Delete Comment, and now, all the comments in current worksheet are removed.

click Delete Comment from right click menu


arrow blue right bubble Delete all comments in a worksheet or workbook with VBA

There is also VBA can help you to delete comments from a worksheet or a whole workbook.

1. Press Alt + F11 to display the Microsoft Visual Basic for Applications window.

2. In the window, click Insert > Module to show a new module window, then copy the following VBA code into the module window.

VBA: Delete comments from a worksheet.

Sub Remove_All_Comments_From_Worksheet()
Cells.ClearComments
End Sub

VBA: Delete all comments from the whole workbook

Sub DeleteAllComments()
'Updateby20140613
For Each xWs In Application.ActiveWorkbook.Sheets
    For Each xComment In xWs.Comments
        xComment.Delete
    Next
Next
End Sub

3. Click Run button to run the code, and you can see all the comments are removed from the current worksheet or the whole workbook.


arrow blue right bubble Reset all comments’ locations with Kutools for Excel

When you have inserted multiple comments in workbook, and you may proberbly to drag the comments as below screenshot shown. And now you want to reset the comments’ locations back, you can use Kutools for Excel’s Reset Comment Position to quickly reset them.

comment boxes are moved anywhere

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Enhanced with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After free installing Kutools for Excel, please do as below:

Click Kutools > More > Reset Comment Position. See screenshot:
click Reset Comment Position feature of kutools

Then choose Active sheet to reset comments position in active sheet, or All sheets to reset all comments position of the whole workbook.
all comments position are reset to normal

Relative Articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!