Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default add date to a chart title?

I have a chart on a sheet which is printed via a button and a macro s
tha only the chart is printed and not the entire sheet (but the char
has to be ON a sheet because it goes with a table).

What I need to do is add the current date to the end of the chart titl
after the text "Date: " which comes at the end of the title, an
overwrite any existing date there. This way it will update the date o
the title every day without user intervention.

Thank

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default add date to a chart title?

A solution using only worksheet formulas is possible. For example in cell A1
on the first worksheet create a formula as follows:

A1: ="This is my chart title Date: "&TEXT(NOW(),"yyyy-mm-dd")

Then click on the chart and select the chart title to make it the active
selection. In the formula bar type: =Sheet1!A1 and hit enter (change
Sheet1 to whatever your sheet's name is). The title should change to value
in cell A1. Each time the worksheet is recalculated the value in cell A1
(and the chart) will be updated.

Troy


"neowok " wrote in message
...
I have a chart on a sheet which is printed via a button and a macro so
tha only the chart is printed and not the entire sheet (but the chart
has to be ON a sheet because it goes with a table).

What I need to do is add the current date to the end of the chart title
after the text "Date: " which comes at the end of the title, and
overwrite any existing date there. This way it will update the date on
the title every day without user intervention.

Thanks


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default add date to a chart title?

ok thanks. that worked fine

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date in Chart Title IJ Anderson Charts and Charting in Excel 2 October 28th 09 04:39 PM
How to hide a chart title, but keep the title in the chart KBratt Charts and Charting in Excel 1 July 16th 09 12:13 AM
Current date (i.e., today()) in Chart Title Gwynne Charts and Charting in Excel 7 June 25th 09 04:08 PM
Pasting Objects into Chart title and Axis title Sam Charts and Charting in Excel 1 June 6th 05 08:50 PM
Date in a chart title FJ Shepley & JM Pfohl Charts and Charting in Excel 2 May 15th 05 03:32 AM


All times are GMT +1. The time now is 06:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"