Automatic update of date field in Chart Title?

PolarBear

Board Regular
Joined
Sep 26, 2005
Messages
215
Hi,

I'd like to update the date in a chart title automatically,
i.e. instead of manually going in to change "Sales Update November 3"
to "Sales Update November 4", just have excel do it for me.

Any thoughts?

Thanks,

Kevin
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
You may have to change the chart it's referring to, but this should work:

Code:
Charts(1).ChartTitle.Characters.Text = "Sales Update " & Format(Date,"mmmm d")
 
Upvote 0
No need for VBA.

Create the title in a worksheet cell. Then link the chart title to the worksheet cell. For how, see
Dynamic Chart Title
http://www.tushar-mehta.com/excel/newsgroups/dynamic_chart_title/index.html

PolarBear said:
Hi,

I'd like to update the date in a chart title automatically,
i.e. instead of manually going in to change "Sales Update November 3"
to "Sales Update November 4", just have excel do it for me.

Any thoughts?

Thanks,

Kevin
 
Upvote 0
Don't be too hard on yourself. On this site VBA is the first tool most people reach for. ;)

It's unfortunate because there is so much that can be done without it and all its attendant issues. If you really want to push the envelope with XL check out the the XL newsgroups. Or, visit the sites of various MS MVPs. A non-exhaustive list: Bullen, Walkenbach, Pope, Pearson, Peltier, and myself.

Von Pookie said:
Oh. Duuuh, Kristy.

...it's going to be a long day, at this rate. :rolleyes:
 
Upvote 0
Thanks Tusharm for the assistance, and thanks Kristy for the suggestion. I should have specified I wasn't using a macro to create the chart.

cheers,

Kevin
 
Upvote 0

Forum statistics

Threads
1,203,242
Messages
6,054,349
Members
444,717
Latest member
melindanegron

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
Back
Top