View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.charting,microsoft.public.excel.programming
bob bob is offline
external usenet poster
 
Posts: 16
Default Chart Text Box 2007

Hi,

The behaviour of text boxes in Excel 2007 Charts is bizarre.
I can "measure" the Point(x).Label.Left value and insert new text boxes at
the same point (approx) for most of the ChartArea, but not too far to the
edges.

Can't understand why there is a problem. The borders of the box are nowhere
close to the ChartArea border.

Quirkyness
Jon: have you figured out if there is a (small) difference in value between
the coordinates returned from Point(x).Label.Left/Top and a Textbox put in
the exact same place (all internal box "padding" set to "0"). This was a
major problem in previous versions.

Bob

"Jon Peltier" wrote in message
...
I can't comment on the text box items, though I know I have already built
workarounds for some of the quirkiness of textboxes in 2007 and
particularly textboxes in charts in 2007.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Bengt" <bobone a pointer.se wrote in message
...
Ahhhh,

2007 is where it becomes interesting!!!

I have found one bug and one nuisance:
- nuisance: the resize function "leftaligns" everything despite alignment
settings, i.e. the whole box is only changed on the right hand side!
- bug: can't seem to programatically insert boxes further to the right
than a certain point being approximately the plot area border when a
legend is to the right, independently of the actual plot area border
(even if moved to chartarea border) and if there is a legend or not. Same
problem from the bottom.

I ask a question again that must have been asked 100 times:
- is it 100% true that it is impossible to reach the embedded Charts
(excel) in PPT programatically. I.e. what whas done before by addressing
the Activechart of the OLEObject.
This is a nightmare for all code that I have developed that cleanses
charts pasted in PPT from Excel. I ca'nt understand whay this door has
been closed?


Best regards,

Bob

"Andy Pope" wrote in message
...
Hi,

I will post the code Brian is referring to on my website.
Just need to find some time to tidy the code and check it works in
xl2007.

The code is design to run from within excel. Any charts created could
then be imported/linked to Powerpoint.

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Bengt" <bobone a pointer.se wrote in message
...
Hi,

This piece of code would be very valuable to me....

Could you please post the essentials of this?

One of the major problems I am having with 2007 is the Autoresize /
Resize shape to fit text.
It seems to neglect alignments compared to 2003.

Bob

"Brian Reilly, MVP" wrote in message
...
Brian,
The data label boxes are impossible to format but Andy Pope, an Excel
MVP, wrote a piece of VBA code for me recently that took the data
label values and turned them into real text boxes and realigned them.
It is very sweet code that handles something that can't be easily done
in the native interface.

If you are comfortable with some VBA code in your presentations (or in
your Excel workbook), you might want to chase Andy down in the Excel
charting newsgroup. Andy also shows up here from time to time.

Brian Reilly, MVP

On Mon, 28 Jan 2008 17:06:00 -0800, Brian Lynn
wrote:

Just so you know, I can see the bounding box for each individual data
label,
and when I click them I can see the little round handles for resizing,
but
when I try to resize it does nothing...

"Brian Lynn" wrote:

I can't seem to be able to resize chart text boxes on PPT2007. I can
resize
the text font itself, but I can't resize the box the text is in,
which means
long company titles are wrapping funny and I have orphan letters...

How do I unlock this so I can resize the data labels manually?