How to Delete All Comments In Excel

Dealing with multiple comments in Excel can sometimes make your spreadsheet look cluttered and difficult to navigate. Tried grouping these? Nightmare!

Whether you’re working independently or collaborating with a team, there may be times when you need to delete all comments. This can help to enhance readability and maintain focus on the data itself.

In this article, I will guide you through the process of deleting all comments in Excel effortlessly and efficiently.

How to Delete All Cell Comments in Excel

Microsoft Excel offers various methods to delete comments in a worksheet, ranging from simple right-click options to using shortcuts and the Go To function.

In this section, I will cover two methods for deleting all cell comments in Excel. Using the “Go To Special” feature and with VBA Code. Both methods are effective for removing comments in a quick and simple way.

Using Go To Special

The Go To Special feature can be used to quickly select all cells that contain comments in a worksheet. Follow these steps to delete all comments using this method:

  1. Highlight a range of cells in the worksheet
  2. Press the F5 key to open the “Go To” dialog box
  3. Click the “Special” button at the bottom left corner of the dialog box
  4. In the “Go To Special” window, choose the “Comments” option and click “OK.” This will select all cells with comments
  5. Right-click any of the selected cells and choose “Delete Comment

All comments in the worksheet will be deleted using this method.

With VBA Code

If you find yourself deleting comments on a regular basis, I suggest setting up a macro.

To automate this process, follow these steps to use VBA to remove all comments in a worksheet:

  1. Press “ALT + F11” to open the Visual Basic for Applications (VBA) editor
  2. Click “Insert” in the toolbar and select “Module” to insert a new VBA module
  3. In the module, paste the following code:
Sub DeleteAllComments()

     On Error Resume Next


End Sub

  1. Press “CTRL + S” to save the module
  2. Close the VBA editor
  3. Press “ALT + F8” to open the “Macro” dialog box, select “DeleteAllComments” and click “Run”

This VBA code will remove all comments from the active worksheet.

Can I Delete Comments In Excel Using A Keyboard Shortcut?

Yes, you can delete comments in Excel using a keyboard shortcut. 

Press “Shift + F10” to bring up the context menu, and then select “Clear Comments” to delete the comment.

Can I Delete Comments In Excel Using A Formula?

No, you cannot delete comments in Excel using a formula. Formulas are used to perform calculations and manipulate data, but they cannot be used to delete comments.

To delete comments, you must use one of the methods described above.

How to Delete All Threaded Comments in Excel

In this section, we will cover two methods to delete all threaded comments in Excel. First is using the Review tab and second, with VBA code.

Using the Review Tab

One approach to deleting all threaded comments in Excel is by using the Review tab. Follow these steps for this method:

  1. Select the whole worksheet by pressing “CTRL + A”. Alternatively, click the small triangle at the top-left of the worksheet
  2. Click the “Review” tab on the ribbon menu
  3. Click on the “Show All Comments” option to display all threaded comments
  4. Right-click on any visible threaded comment and choose the Delete option. This action will remove all threaded comments in the entire worksheet.

With VBA Code

Again, if you’re looking for an automated process, check out this code:

  1. Press “ALT + F11” to open the VBA editor in Excel.
  2. Select Insert from the menu and choose Module to insert a new module.
  3. Copy and paste the VBA code below into the new module:
Sub DeleteAllThreadedComments()

   Dim Comment As ThreadedComment

      For Each Comment In ActiveSheet.ThreadedComments
      Next Comment

End Sub
  1. Close the VBA editor
  2. Press ALT + F8 to open the “Macro” dialog box in Excel
  3. Select the macro named DeleteAllThreadedComments and click Run

With this VBA code, all threaded comments in the active worksheet will be deleted.

Additional Tips And Tricks For Managing Comments

Comment Formatting

You can enhance the readability of your comments in Excel by modifying the formatting. To do this, right-click on the comment and choose “Edit Comment.”

Once inside the comment box, you can:

  • Change the font type or color by selecting the text and using the formatting options in the toolbar
  • Bold, italicize, or underline text using the corresponding buttons (or shortcuts: Ctrl+B, Ctrl+I, Ctrl+U)
  • Adjust the alignment of the text using the alignment buttons

These formatting options can help draw attention to specific information or highlight important comments.

Navigating Through Comments

To easily move between comments in a worksheet, you can use Excel’s built-in navigation options found in the “Review” tab. Specifically, you can:

  1. Click “Previous” or “Next” in the “Comments” group to navigate through your comments one by one
  2. Use the “Go To” function (shortcut: F5) and select “Comments” from the “Go To Special” dialog box, which allows you to jump to all cells containing comments consecutively

These navigation methods can be particularly useful when working with a large dataset that contains many comments scattered throughout. This will allow you to quickly review and address them.

Thanks for reading and I hope you found this helpful!

Other Excel tutorials you may also like:

Leave a Comment