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


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:


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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 · 2 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 · 4 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 · 4 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