Problem
We want to delete all comments in Excel. We will see three alternative, the last one using VBA.
Solution
- Option 1
- On the Review tab click on Show all comments
- Press Ctrl+A to select all comments
- Click on Delete
- Option 2
- Press F5 or Ctrl + G to open Go To dialog box, click on Special and then OK
- All comments will be selected
- Right click to open context menu and click on Delete Comment
- Option 3 - VBA
- Delete all comments from active sheet
- Delete all comments from the workbook
Sub Delete_Comments_from_Sheet() Cells.ClearComments End Sub
Sub Delete_All_Comments() Dim ws As Worksheet For Each ws In Worksheets ws.UsedRange.ClearComments Next End Sub
No hay comentarios:
Publicar un comentario