That will autosize the textbox right? not the text within the box? I want to
resize the text to fit the box not the box to fit the text.
> ActiveWindow.Selection.ShapeRange(1).TextFrame.AutoSize = 1
>
> > Is there a way to set the autosize text = true using VBA in PPT 2007?
John Wilson - 02 Apr 2008 22:35 GMT
You will need to use the new TextFrame2 property
.TextFrame2.AutoSize = msoAutoSizeTextToFitShape

Signature
Amazing PPT Hints, Tips and Tutorials
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> That will autosize the textbox right? not the text within the box? I want to
> resize the text to fit the box not the box to fit the text.
>
> > ActiveWindow.Selection.ShapeRange(1).TextFrame.AutoSize = 1
> >
> > > Is there a way to set the autosize text = true using VBA in PPT 2007?