Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Adding a Comment to Multiple Cells.
by Allen Wyatt
(last updated January 16, 2016)
Keith notes that adding a comment to a cell is easy. He wonders if there is a way to insert the same comment into multiple cells at the same time.
The short answer is that there is no way to insert multiple comments at the same time. You can, however, copy a comment to multiple cells. Follow these steps:
Figure 1. The Paste Special dialog box.
The result is that only the comment from the cell in step 2 is pasted to the cells you selected in step 3. If any of those cells already had comments, those comments are replaced with the one you are pasting.
If you really want to add the comment to all the cells at the same time, then the only way to do it is through a macro. The following example will prompt you for a comment and then add the comment to all the cells you've selected.
Sub InsertCommentsSelection() Dim sCmt As String Dim rCell As Range sCmt = InputBox( _ Prompt:="Enter Comment to Add" & vbCrLf & _ "Comment will be added to all cells in Selection", _ Title:="Comment to Add") If sCmt = "" Then MsgBox "No comment added" Else For Each rCell In Selection With rCell .ClearComments .AddComment .Comment.Text Text:=sCmt End With Next End If Set rCell = Nothing End Sub
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11499) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Adding a Comment to Multiple Cells.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Need to find that misplaced comment in your worksheet? It's easy to do using the Find and Replace capabilities of Excel.Discover More
Want to automatically move the contents of a cell into a comment for that cell? It's easy enough to do by using the macro ...Discover More
Adding comments to the cells in your worksheets can help to document different aspects of that worksheet. Adding a ...Discover More
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.