PC Review


Reply
Thread Tools Rate Thread

How to display the Chart Name as a Chart Title?

 
 
EAS
Guest
Posts: n/a
 
      28th Jan 2010
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].
 
Reply With Quote
 
 
 
 
Héctor Miguel
Guest
Posts: n/a
 
      31st Jan 2010
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Chart Title With 3D Stacked Column Chart Thomas M. Microsoft Excel Charting 2 23rd Mar 2009 03:14 PM
Extracting chart title from Embedded Excel Chart in PowerPoint Barb Reinhardt Microsoft Excel Programming 1 11th Jun 2008 02:22 PM
Extracting chart title from Embedded Excel Chart in PowerPoint Barb Reinhardt Microsoft Powerpoint 0 11th Jun 2008 01:31 PM
Export all chart sheets to PowerPoint with chart titles as slide title vsg@synergi.com Microsoft Powerpoint 1 23rd Jan 2006 07:58 PM
Excel chart - how to assign the file name in the chart title? =?Utf-8?B?VEdyZWVu?= Microsoft Excel Charting 1 16th Aug 2005 10:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:22 PM.