Linking a chart title to a cell

Helen

Board Regular
Joined
Feb 19, 2002
Messages
103
Is it possible to link a chart title to a cell, so when the cell changes so does the chart title?

Thanks for your help
Helen
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

gnaga

Well-known Member
Joined
Jul 9, 2002
Messages
700
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Possible try the the following code

Private Sub Worksheet_Change(ByVal Target As Range)
ThisWorkbook.Worksheets("Sheet1").Activate
Charts(1).ChartTitle.Caption = Range("A1")

End Sub

Assuming you have cahrt as object in your Sheet1 and the charttitle in Cell A1

GNaga
 

Sir Vili

Board Regular
Joined
Jul 11, 2002
Messages
148
Hello Helen.

Manually You can do this way:

Draw a TextBox on sheet. When You have activated that TextBox, then on Formula Bar give formula =A1. Then place TextBox on chart.

By changing text in A1, changes also contents of TextBox. Of course You can format that TextBox also.

Best Regards Sir Vili.
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
See the Excel Help topic for "Link a chart title or text box to a worksheet cell".
 

Forum statistics

Threads
1,143,613
Messages
5,719,713
Members
422,242
Latest member
hishamkhatri

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top