Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


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.

Add comment to chart by creating hyperlink

Add comment to chart with VBA code

arrow blue right bubbleAdd comment to chart by creating hyperlink

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:


arrow blue right bubbleAdd comment to chart with VBA code

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:


Related articles:

How to add axis label to chart in Excel?

How to add a scrollbar to chart in Excel?

How to add arrows to line / column chart in Excel?

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.
    uwu · 2 months ago
    no me sirvioooo ,casi hackeo la nasa y ni asi muy mal :(
  • To post as a guest, your comment is unpublished.
    eve hunt · 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: