Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default How to display the Chart Name as a Chart Title?

Is there a formula or way to display the Chart Name as a Chart Title. For
example if I am going to print a worksheet, I can print the Sheet name using
a header formula &[TAB].
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 434
Default How to display the Chart Name as a Chart Title?

hi, !

Is there a formula or way to display the Chart Name as a Chart Title.
For example if I am going to print a worksheet, I can print the Sheet name using a header formula &[TAB].


put the name of the chart in a cell and "link" the chart title to that cell
(selecting the chart title and IN FORMULA BAR put '=' and point the cell)

to get the name of the chart in a cell...

op1: (vba) worksheets(1).chartobjects(1).name

op2: using xl4-macro functions
= create/define/... a named formula and *call* this name in "the cell"
name formula (to get the chart name in local language)
miChart1 =index(get.document(42,get.workbook(38+0*now())),1 )

formula (to get the chart name in english)
=get.object(51,index(get.document(42,get.workbook( 38+0*now())),1))

note the "index(...,1)" it is assumed the chart is the *first* embedded object in the worksheet
and... *IF* you assign the chart name by code, either named-forumula returns the same

hth,
hector.


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
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
Dynamic Chart Title With 3D Stacked Column Chart Thomas M. Charts and Charting in Excel 2 March 23rd 09 03:14 PM
How to display a series in chart table and not in the chart? Mani Charts and Charting in Excel 1 February 22nd 06 04:38 PM
Excel chart - how to assign the file name in the chart title? TGreen Charts and Charting in Excel 1 August 16th 05 10:35 AM
Pasting Objects into Chart title and Axis title Sam Charts and Charting in Excel 1 June 6th 05 08:50 PM


All times are GMT +1. The time now is 09:06 PM.

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

About Us

"It's about Microsoft Excel"