You can hide all notes in an Excel spreadsheet by using the "Review" tab to reveal all comments and then selecting "Delete" for each one, or by using a simple VBA macro script if you have a large dataset. Hiding these notes cleans up the interface and removes context that might be distracting or sensitive. Before starting, ensure you have the appropriate permissions to modify the workbook, as notes are stored within the file itself.
What You'll Need
- Microsoft Excel installed on your computer (Windows or Mac versions are supported).
- The spreadsheet file (.xlsx, .xls, or .xlsm) containing the notes you wish to remove.
- A basic understanding of the keyboard (Ctrl+A to select all) and mouse navigation.
- For advanced users: Basic familiarity with the Visual Basic for Applications (VBA) editor.
Step-by-Step
- Open Your Workbook: Launch Microsoft Excel and open the specific file where the notes are located. If the notes are spread across multiple sheets, be aware that this process will target all sheets within the active workbook.
- Access the Review Tab: Look at the top menu ribbon in Excel. Click on the "Review" tab. This tab is dedicated to proofing, comments, and tracking changes. If you do not see this tab, it may be hidden; right-click anywhere on the ribbon and select "Customize the Ribbon" to ensure "Review" is checked in the tabs list.
- Reveal All Comments: Locate the "Comments" group on the Review tab. Click the button labeled "Show All Comments." This action forces Excel to display every single note currently hidden in the cells. You will see little red triangles in the corners of cells that contain notes, and the text of the note will appear next to or inside the cell.
- Select the Cell: Click directly on the cell that contains the note you want to delete. If you want to delete all notes, you can select this cell and then press Ctrl + A (Command + A on Mac) to select the entire worksheet.
- Delete the Note: With the cell or the entire sheet selected, find and click the "Delete" button located in the Comments group on the Review tab. A confirmation dialog box may appear asking if you want to delete the comment. Click "OK" to proceed. If you selected the entire sheet, this will delete all notes across every sheet in the workbook.
- Verify the Result: Check the corners of the cells. If the red triangles are gone and the text is removed, the note has been successfully deleted. If you are working with a very large dataset, you may need to scroll through the entire file to ensure no notes were missed.
Alternative Method: Using VBA for Bulk Deletion
If you have hundreds or thousands of notes, clicking "Delete" one by one is tedious. You can automate this using a macro. Note that this method permanently removes the notes and cannot be easily undone unless you have a backup or use the Excel "Undo" button immediately after running the script.
- Open the VBA Editor: Press Alt + F11 on your keyboard. This shortcut will open the Visual Basic for Applications editor window.
- Insert a New Module: In the VBA editor window, go to the menu bar and click Insert > Module. A blank code window will appear.
- Paste the Code: Copy the following code and paste it into the blank module window:
Sub DeleteAllNotes()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Comments.Delete
Next ws
End Sub
- Run the Macro: Close the VBA editor window and return to your Excel spreadsheet. Press Alt + F8 to open the Macro dialog box. Select "DeleteAllNotes" from the list and click Run. Excel will now iterate through every sheet in your workbook and delete all comments instantly.
Common Mistakes
- Forgetting to Reveal Comments: Many users try to delete notes without first clicking "Show All Comments." Excel often keeps the red triangles visible even after deleting a note if the display settings are not refreshed. Always ensure the comments are visible before attempting deletion.
- Deleting the Cell Instead of the Comment: When a cell contains a note, the delete key on your keyboard will remove the cell contents, but the note itself will remain. You must use the "Delete" button on the Review tab specifically designed for comments, not the generic Delete key.
- Not Saving After Deletion: Changes to notes are not saved automatically in some older versions of Excel or when using specific file formats like .csv. Always save your file (.xlsx or .xlsb) after performing this action to ensure the notes are truly gone.
- Ignoring Hidden Sheets: If your workbook contains hidden sheets, the standard "Delete" button in the Review tab will only work on visible sheets. You must unhide all sheets before running the deletion process or use the VBA macro method, which accesses hidden sheets automatically.
Tips
- Use Undo Strategically: If you accidentally delete a note you wanted to keep, the Undo button (Ctrl+Z) is your best friend. It is almost always available immediately after a deletion command.
- Print Preview Check: Before hiding all notes, do a quick print preview. Notes are often printed at the bottom of the page. If you hide them in the spreadsheet but they still appear in the printout, you will need to adjust the print settings to exclude comments from the final document.
- Backup First: For critical business data, always make a copy of the original file before running bulk deletion scripts. This prevents loss of information if the script malfunctions or if you accidentally select the wrong workbook.
- Keyboard Shortcuts: While there is no single keyboard shortcut to delete all notes, selecting a cell with a note and pressing Alt + Shift + C will delete the active note quickly without needing to navigate to the Review tab.
Troubleshooting
Even with the correct steps, sometimes notes behave unexpectedly. Here is how to resolve common issues.
Notes Are Still Visible After Deletion
If you click the "Delete" button and the note remains, it is likely because the note is anchored to the cell's formatting rather than the cell itself, or the display cache has not refreshed. Try selecting the cell with the note, pressing Ctrl + Z to undo the deletion, and then right-clicking the cell. Select "Delete" from the context menu and choose "Delete Contents.” This often forces the system to recognize that the note is gone. Alternatively, try closing and reopening the Excel file, as this refreshes the display cache.
VBA Macro Errors
If you receive a runtime error when running the VBA macro, ensure you are not in "Design Mode." In the VBA editor, look at the top toolbar; if "Design Mode" is highlighted, click it to turn it off. If you are on a Mac, the shortcut Alt + F11 may not work; you may need to go to Tools > Macro > Visual Basic Editor in the Excel menu.
Notes Won't Delete on Protected Sheets
Excel will not allow you to delete comments on sheets that are protected. If the "Delete" button is grayed out, you must go to the "Review" tab and click "Unprotect Sheet.” You will need the password to do this. Once unprotected, the deletion process will work.
Excel Crashes When Running Macro
If the macro causes Excel to freeze or crash, the issue is usually due to a corrupt worksheet or a very large number of comments causing a timeout. Try deleting all notes from the visible sheets first using the manual method, and then run the macro on the remaining sheets one by one rather than all at once.
Frequently Asked Questions
Can I hide notes without deleting them?
No, standard Excel functionality does not have a "Hide All Notes" toggle. You can hide individual notes by right-clicking the red triangle and selecting "Hide Comment,” but there is no global button to hide them all at once. The only way to make them invisible is to delete them or use a third-party add-in.
Does deleting a note delete the data in the cell?
No. The note is a separate object attached to the cell. Deleting the note will remove the text bubble but will leave the original data inside the cell exactly as it was.
Will hiding all notes affect my formulas?
No. Notes are purely for user annotations and do not interact with the underlying formulas or calculations of the spreadsheet. Hiding or deleting them will not change any numbers or results.
Can I recover a note after deleting it?
If you delete a note and then realize it is needed, the Excel Undo feature (Ctrl+Z) is the only way to restore it. Once you perform another action, such as typing in a cell or saving the file, the note is permanently gone.
Is there a shortcut to select all cells with notes?
There is no built-in shortcut to select only the cells containing notes. You must either select the entire sheet using Ctrl+A or use the VBA macro to identify and select them programmatically.
Do notes appear in Excel online?
Yes, notes appear in Excel for the Web and the desktop app. The process to delete them is similar: access the Review tab, show all comments, and use the delete function. However, VBA macros cannot be run in the online version.