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
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 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:
Quickly 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:
- Change all comment formats in cells
- Change all comments' author name
- List all comments to a new worksheet or workbook
- Find and replace text within comments
- Show or hide all comments and comment indicators in Excel
- Convert comments to cell contents in Excel
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
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!