Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Chart - Title Widths


From:
Subject: Chart - Title Widths
Date: Tuesday, February 03, 2004 12:43 PM

Chart - Title Widths

Does anyone know how to find the width of a title/axis title?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Chart - Title Widths

Andy Pope and I have already answered your first post on this question.
Of course, mine was just paraphrasing what he said on the subject a
while back.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

wrote:

From:
Subject: Chart - Title Widths
Date: Tuesday, February 03, 2004 12:43 PM

Chart - Title Widths

Does anyone know how to find the width of a title/axis title?




  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Chart - Title Widths

Dear Jeff,

Thank you... for your reply...

Is there a way to center like you would in lets say Publisher?

K


"Jeff Webb" wrote in message
...
I don't believe there's any way to do that directly through the object

model. You can calculate it from the font and the text using Windows APIs
(it's in GDI). If you don't need it to be super-accurate or if you are
always using the same font/size, you can just use a simple calculation based
on the average size of characters.

-- Jeff



  #4   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Chart - Title Widths

Dear Jeff,

Thank you... for your reply...

Is there a way to center like you would in lets say Publisher?

K

"Jon Peltier" wrote in message
...
Andy Pope and I have already answered your first post on this question.
Of course, mine was just paraphrasing what he said on the subject a
while back.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

wrote:

From:
Subject: Chart - Title Widths
Date: Tuesday, February 03, 2004 12:43 PM

Chart - Title Widths

Does anyone know how to find the width of a title/axis title?






  #5   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Chart - Title Widths

Sorry... I ment to say Jon...


wrote in message news:Q8jUb.5729$213.3270@edtnps89...
Dear Jeff,

Thank you... for your reply...

Is there a way to center like you would in lets say Publisher?

K


"Jeff Webb" wrote in message
...
I don't believe there's any way to do that directly through the object

model. You can calculate it from the font and the text using Windows APIs
(it's in GDI). If you don't need it to be super-accurate or if you are
always using the same font/size, you can just use a simple calculation

based
on the average size of characters.

-- Jeff







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Chart - Title Widths

I don't know how Publisher centers labels. Did this work (from my
earlier post)? How is it different from Publisher?

activechart.ChartTitle.left = activechart.ChartArea.width
activechart.ChartTitle.left = activechart.ChartTitle.left/2

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

wrote:

Dear Jeff,

Thank you... for your reply...

Is there a way to center like you would in lets say Publisher?

K

"Jon Peltier" wrote in message
...

Andy Pope and I have already answered your first post on this question.
Of course, mine was just paraphrasing what he said on the subject a
while back.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

wrote:


From:
Subject: Chart - Title Widths
Date: Tuesday, February 03, 2004 12:43 PM

Chart - Title Widths

Does anyone know how to find the width of a title/axis title?







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
Possible to change chart title and label box widths? [email protected] Charts and Charting in Excel 6 December 18th 06 09:44 PM
Pasting Objects into Chart title and Axis title Sam Charts and Charting in Excel 1 June 6th 05 08:50 PM
Bar Chart Bar Widths Jon Charts and Charting in Excel 4 May 27th 05 03:41 AM
Chart - Title Widths No Name Excel Programming 2 February 3rd 04 09:55 PM


All times are GMT +1. The time now is 11:30 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"