Mostrando entradas con la etiqueta Clearcomments. Mostrar todas las entradas
Mostrando entradas con la etiqueta Clearcomments. Mostrar todas las entradas

2020-12-17

Cómo eliminar todos los comentarios en Excel

Title

Problema

Queremos borrar todos los comentarios en Excel. Veremos tres alternativas, en la última usaremos VBA

Solución

  • Opción 1
    1. En la pestaña Revisar clic en Mostrar todos los comentarios
    2. Press Ctrl+E para seleccionar todos los comentarios
    3. Clic en Eliminar
  • Opción 2
    1. Presionamos F5 o Ctrl + I para abrir el cuadro de diálogo Ir a, clic en Especial
    2. Todos los comentarios serán seleccionados
    3. Clic con el botón derecho para abrir el menú contextual y clic en Eliminar comentario
  • Opción 3 - VBA
    1. Borra todos los comentarios de la hoja activa
    2. Sub Borra_Comentarios_de_la_Hoja()
       Cells.ClearComments
      End Sub
      
    3. Borra todos los comentarios del libro de Excel
    4. Sub Borra_todos_los_Comentarios()
          Dim ws As Worksheet
      
          For Each ws In Worksheets
              ws.UsedRange.ClearComments
          Next
      
      End Sub
      

2020-12-14

How to remove all comments in Excel

Title

Problem

We want to delete all comments in Excel. We will see three alternative, the last one using VBA.

Solution

  • Option 1
    1. On the Review tab click on Show all comments
    2. Press Ctrl+A to select all comments
    3. Click on Delete
  • Option 2
    1. Press F5 or Ctrl + G to open Go To dialog box, click on Special and then OK
    2. All comments will be selected
    3. Right click to open context menu and click on Delete Comment
  • Option 3 - VBA
    1. Delete all comments from active sheet
    2. Sub Delete_Comments_from_Sheet()
       Cells.ClearComments
      End Sub
      
    3. Delete all comments from the workbook
    4. Sub Delete_All_Comments()
          Dim ws As Worksheet
      
          For Each ws In Worksheets
              ws.UsedRange.ClearComments
          Next
      
      End Sub
      
Nube de datos