How to add comment to chart in Excel?
As we all known, it is easy for us to insert comments to cells in workbook. But, have you ever tried to insert comment to a chart? That is to say, when you move the mouse over a chart in a worksheet, there will appear a pop-up comment. Normally, Excel doesn’t provide us the way to add comment to the chart directly, but here, I can talk about some interesting tricks for you to deal with this task.
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
You can insert the comment to a chart using the hyperlink feature, please do as following steps:
1. Select your chart that you want to insert a comment.
2. Then press Ctrl + K keys to open the Insert Hyperlink dialog, and in the dialog box, select Place in this Document from the Link to pane, and enter the address of a cell which close to your chart as you need, then click ScreenTip button, see screenshot:
3. And in the Set Hyperlink ScreenTip dialog, please type the comment content you need to display into the ScreenTip text box, see screenshot:
4. Click OK > OK to close the dialogs, and now, when you hover the mouse pointer over the chart, a small note appears which contains the ScreenTip text as following screenshot shown:
Here also have a simple VBA code, by applying this code, it will pop out a message box including the text content which just like a comment.
1. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
Sub MyMacro() MsgBox "A column chart is a graphic representation of data. Column charts display verticalbars going across the chart horizontally, with the values axis being displayed on the left side of the chart. " End Sub
Note: You can change the text which will be displayed as comment content after the MsgBox in the above code as you need.
3. Then save and close this code window, back to your worksheet, select the chart and right-click, then choose Assign Macro from the context menu, see screenshot:
4. And in the Assign Macro dialog, select the code name that created in above code just now, MyMacro, for instance. See screenshot:
5. Then click OK to close this dialog, and when you click the chart, you will see a message box that contains the text you typed in your macro, see screenshot:
Recommended Productivity Tools
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 2 months agono me sirvioooo ,casi hackeo la nasa y ni asi muy mal :(
To post as a guest, your comment is unpublished.· 6 months ago"That is really fascinating, You’re an excessively skilled blogger.
I have joined your feed and look ahead to
in quest of more of your wonderful post. Also, I’ve shared your website in my social networks" regards: