You should be able to program a simple loop to resize the font until the
size is right. In VBA I would check the number of lines (for example,
for the first shape on the first slide):
ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange.Lines
and multiply it by the height of the font to find out how big my text is.
I would loop to keep reducing the font size until I got it small enough.
It shouldn't be too hard in whatever your using to automate the creation
of the slides.
--David
--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
I'll be using automation from Access to create a regular textbox.
The textbox will be filled with data from Access and the font needs to
be able to resize and wrap to fit.
Echo S said:
Are you talking about in a placeholder (where it says "click here to
add
text") or just a regular textbox (the one you add by clicking the text
icon on the drawing toolbar)?
--
Echo [MS PPT MVP]
http://www.echosvoice.com
presenter, PPT Live '04
Oct 10-13, San Diego
http://www.powerpointlive.com
Silvester said:
How can I get the font in a PP textbox to resize automatically to
fit the
amt of text being entered ?
Appreciate any help and reply.