Comments in Excel are great when you’re working with multiple people and need to tag a few cells with some important notes.
And with comments, you can have multiple people adding comments and it will show their names with each comment to make sure you know who has added that note in a cell.
But what if you get a workbook and you want to delete a comment (or all comments or all comments by a specific person)?
In this Excel tutorial, I will show you how to quickly delete comments in Excel.
So let’s get started!
Delete Comments in Excel
This one pretty straight forward.
Suppose you have a dataset as shown below and you want to quickly delete the comment in cell C3.
Below are the steps to delete a comment in an Excel cell:
- Right-click on the cell
- Click on ‘Delete Note’ (or ‘Delete Comment’ if you’re not using Office 365)
That’s it!
This will delete the comment in that specific cell.
Delete All Comments (In the Entire Sheet or Selection)
In case you want to delete all comments from the entire sheets or a specific selection, you need to first make the selection and then follow the same steps (as shown above) to delete all the comments.
To delete all the comments in the entire sheet:
- Select all the cells in the worksheet (by clicking on the gray triangle at the top-left of the Excel window)
- Click the Home tab
- In the Editing group, click on Clear
- Click on ‘Clear Comments and Notes’
In case you want to delete all comments from a specific selection of range, first make the selection and follow the below steps:
- Right-click on any cell in the selection
- Click on ‘Delete Note’ (or ‘Delete Comment’ if you’re not using Office 365)
Delete All Comments from All Sheets
This one is a bit tricky.
If you only have a few worksheets, you can manually go to each sheet, select all the cells and delete all the comments,
But in case you have a lot of sheets, doing this manually can take a lot of time.
So, the better way of doing this could be by using a simple VBA code.
Don’t worry, it’s really simple and I will show you the exact steps to get this done.
Below is the VBA code which will go through each sheet and delete all the comments in it:
For each ws in Worksheets: ws.cells.ClearComments: Next ws
The above VBA code uses the For Each Next loop that goes through all the sheets one by one and deletes all the comments in it.
Below are the steps to use this VBA macro code in Excel:
- Open the workbook from where you want to delete comments from all sheets
- Right-click on any tab
- Click on View Code. This will open the VB Editor window
- If you don’t already see the immediate window, click on the View option in the menu and then click on ‘Immediate Window’
- Copy the above code in the immediate window
- Place the cursor at the end of the line
- Hit the Enter key
The above steps would instantly run the code and remove comments from all the sheets.
In case you want to delete comments from specific sheets only, you will have to create a code that allows you to go through those sheets only and not all the sheets.
[BONUS] Adding the Delete Comment button in the Quick Access Toolbar
Another time-saving tip when you have to delete comments quite often is to add the delete comment icon in the quick access toolbar.
This way, you can simply make the selection and click the button on the QAT to remove the comments from the selection (which is always visible when working with Excel).
Below are the steps to add the Delete Comments icon in the Quick Access Toolbar:
- Click on the Customize Quick Access Toolbar icon.
- Click on More Commands
- In the ‘Excel Options’ dialog box that opens, click on the ‘Choose Commands from’ drop-down and then click on ‘All Commands’
- Scroll down and select the ‘Delete Comment’ option
- Click on the Add button
- Click OK
The above steps would add the Delete Comment button in the Quick Access Toolbar.
Now. when you have to remove comments from a specific cell/range or the entire worksheet, simply make the selection and click on this icon.
So these some of the methods you can use to delete comments in Excel.
Hope you found this tutorial useful.
You may also like the following Excel tutorials:
- How to Set a Row to Print on Every Page in Excel
- How to Clear Contents in Excel without Deleting Formulas
- How to Delete a Sheet in Excel Using VBA
- How to Delete Chart in Excel? (Manual & VBA)
- How to Remove Drop-down List in Excel?
- How to Print Comments in Excel? 4 Easy Ways!
- Delete Cell in Excel (Shortcut)
- How to Filter Cells with Notes in Excel?