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 convert cell contents to comments in Excel?

Maybe you have a range of cells filled with some information, and now you want to convert those cell contents to comments in a worksheet. Is it possible for you to finish this task in Excel? Here are some quick tricks to solve this problem.

Convert cell contents to comments with VBA code

Quickly convert cell contents to comments 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 Convert cell contents to comments with VBA code


The following brief VBA code can help you to convert cell contents to comments, and you can apply the code with following steps:

1. Select the range of cell values that you want to convert to comments.

2. Click Developer > Visual Basic, a new Microsoft Visual Basic for applications window will be displayed, click Insert > Module, and input the following code into the Module:

Sub CellToComment()
'Updateby20140509
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    Rng.NoteText Text:=Rng.Value
Next
End Sub

3.Then click doc-divide-5 button to execute the code. And a dialog pops up for you to select a range to convert, then click OK, then all of the selected cell contents have been converted to comments. See screenshots:


doc-cells-to-comments1 -2 doc-cells-to-comments2

arrow blue right bubbleQuickly convert cell contents to comments with Kutools for Excel

As an Excel beginner, VBA code is a little difficult for you. So, I will introduce you a simple way to deal with this.

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

If you have installed Kutools for Excel, the Convert Comment and Cell of Kutools can help you to convert cell contents to comments quickly and conveniently. Please do as follows:

1. Highlight the range you would like to convert them to comments.

2. Click Kutools > More > Convert Comment and Cell, see screenshot:

3. In the Convert Comment and Cell dialog box, select Convert content of cells into comments option. See screenshot:

4. Click OK. And all of the selected cell contents have been converted to cell comments. See screenshot:

With Convert Comment and Cell feature, you also can convert comments to cell contents. For more detailed information about Convert Comment and Cell, please visit Convert Comment and Cell 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.
    Deepak · 3 years ago
    Hi,
    I use this macro to check old values in a range of cell. How can add comments to existing comments with a text.
    eg - first value is 1000. then I run the macro is must come as "was 1000" in comments.
    now I have changed value to 900.
    Next time I run the macro on same cell or cells it must show as
    "was900
    was1000"
    now changed value to 800.
    so when I check cell comments I can see value actually dropped from 1000 to 900 and currently it is 800.
  • To post as a guest, your comment is unpublished.
    Pankajnis · 5 years ago
    I need help to enter new row. However there are few condition .
    1.> I need each row for Col A1(for ID# i.e. A1, A2..A25) as progressive addition when every time new row is entered. If , I'm entering new row after A20 then next row should have ID# as A21. It should always insert the row below last used row.
    2.> Similarily, I need to add in progressive hyperlink cell value in the column "H1" onward.
    Is this possible, If yes, please advise.
  • To post as a guest, your comment is unpublished.
    Pankajnis · 5 years ago
    I'm using Excel 2010 and facing same issue i.e. when char length is more than it skip to convert in comment. Please could you please advise as what change needs to be made in code to not limit the char length.
  • To post as a guest, your comment is unpublished.
    Darrel Stickler · 5 years ago
    what is the string length limit for the conversion? It appears cells with Cell content longer than 255 are skipped. It would at least be better to get the first 255 characters converted
    • To post as a guest, your comment is unpublished.
      Admin-jay · 5 years ago
      [quote name="Darrel Stickler"]what is the string length limit for the conversion? It appears cells with Cell content longer than 255 are skipped. It would at least be better to get the first 255 characters converted[/quote]
      Hello, please tell me the version information of your Excel. There is no such issue with Kutools for Excel 7.00. :)

      please contact me at jaychivo#extendoffice.com