Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to list all comments to a new worksheet or workbook in Excel?

If you have workbook with too many comments in it, and you want to list all comments to a new worksheet or workbook for reviewing all comments, how can ou do? The following methods can help you quickly list all comments of a worksheet / workbook to a new worksheet or workbook in Excel.

List all comments to a new worksheet with VBA code

List all comments to a new worksheet or workbook with Kutools for Excel

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubble List all comments to a new worksheet with VBA code


The following VBA code will list all comments to a new worksheet in current workbook. In the new worksheet, it will list all comments of the whole workbook in a list with the sheet name, cell address, comment contents and cell name. Please use this method as follows:

1. Click Developer > Visual Basic, it displays the Microsoft Visual Basic for applications window. And click Insert > Module, and then input the following VBA codes in the Module.

VBA: lists all comments in a new worksheet.

Sub ShowCommentsAllSheets()
'Update 20140508
Dim commrange As Range
Dim rng As Range
Dim ws As Worksheet
Dim newWs As Worksheet
Set newWs = Application.Worksheets.Add
newWs.Range("A1").Resize(1, 4).Value = Array("Sheet", "Address", "Value", "Comment")
Application.ScreenUpdating = False
On Error Resume Next
For Each ws In Application.ActiveWorkbook.Worksheets
    Set commrange = ws.Cells.SpecialCells(xlCellTypeComments)
    If Not commrange Is Nothing Then
        i = newWs.Cells(Rows.Count, 1).End(xlUp).Row
        For Each rng In commrange
            i = i + 1
            newWs.Cells(i, 1).Resize(1, 4).Value = Array(ws.Name, rng.Address, rng.Value, rng.Comment.Text)
        Next
    End If
    Set commrange = Nothing
Next
newWs.Cells.WrapText = False
Application.ScreenUpdating = True
End Sub

2. Then click doc-list-comments-1 button to run the code, and you will get a new worksheet with all the comments in the current workbook. See screenshot:

doc-list-comments-2


arrow blue right bubble List all comments to a new worksheet or workbook with one click

With the Create Comment List of Kutools for Excel, you can quickly list all comments to a new worksheet or a new workbook.

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Get it Now.

1. If you have installed Kutools for Excel, click Kutools > More > Create Comment List, see screenshot:

doc-list-comments-3-3

2. In the Create Comment List dialog box:

  • Select the scope that you want to list the comment, you can choose Active sheet or All sheets.
  • Then specify the location that you want to put the comments list, you can list the comments in a new workbook or a new sheet, see screenshot:

doc-list-comments-4-4

3. And then click Createbutton. A new worksheet will be added to list all the active worksheet comments with its attributes such as sheet name, cell references, row and column. See screenshot:

For more detailed information about Create Comment List, please visit Create Comment List feature description.


Related articles:


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Rueben · 4 months ago
    In the Create Comment List dialog, select the scope you want to list the comment, Active sheet or All sheets, then choose to place the comments in a new workbook or a new sheet of current workbook https://www.myloweslife.us/
  • To post as a guest, your comment is unpublished.
    Helena Karas · 10 months ago
    Ahoj lidi. Jmenuji se Helena Karas z Praha 8. V pondelí 07/01/19 dostal jsem úver ve výši 15.000.000 Kc od Peter Krajcovic za nemovitost v Praze 2. Správný e-mail pana Krajcovic je senatorrpwalter@hotmail.com. Jeho úver je 100% garantován. Kontaktujte jej, pokud stále hledáte pujcku.
  • To post as a guest, your comment is unpublished.
    Helena Karas · 10 months ago
    Ahoj lidi. Jmenuji se Helena Karas z Praha 8. V pondelí 07/01/19 dostal jsem úver ve výši 15.000.000 Kc od Peter Krajcovic za nemovitost v Praze 2. Správný e-mail pana Krajcovic je senatorrpwalter@hotmail.com. Jeho úver je 100% garantován. Kontaktujte jej, pokud stále hledáte pujcku.
  • To post as a guest, your comment is unpublished.
    Abdul · 10 months ago
    But what if you are just commencing? Anyone could have to investigate on particular topic,
    anyone start writing on out. This data was
    required to rank web web pages

    Almillat
    Maninerd
    hitscorner
    maniwebify
  • To post as a guest, your comment is unpublished.
    Alden · 1 years ago
    I found it useful to add the following line after line 8 in the VBA code; it renames the sheet to the comments and the date created.

    ActiveSheet.Name = "Comments " & Format(Now(), "DD-MMM-YY")
  • To post as a guest, your comment is unpublished.
    Loki · 1 years ago
    Oh, and one more thing. Each time I hit "Run", it opens a New Sheet with the list of comments. How can I make it add to the existing sheet without duplicating teh entries then? Thanks :)
  • To post as a guest, your comment is unpublished.
    Loki · 1 years ago
    Thank you for the VBA Code! This really helps. Is there a way in which I can see all new comments or responded to comments in the sheet in realtime? It only updates each time the workbook is opened. But not while I am working in it.
    Best regards,
    Loki