G
Guest
All,
I'm working on an application that populates a number of text frames with
dynamic text.
It uses code like this:
Set oSlide = oPres.Slides("slidename")
Set oShape = oSlide.Shapes("textarea")
oShape.TextFrame.AutoSize = 1
oShape.TextFrame.TextRange = "Blah, blah, blah"
I'm trying to get the textFrame to resize automatically to fix the text, so
that I can then determine it's size in order to fit other text frames around
it.
However, it appears that the textframe isn't resizing automatically.
If I check the presentation after my script has run, and check the
properties of the text frame, "Auto size" is checked, so I'm not sure what
the problem is.
Many, many thanks in advance for any advice or insight!
Cheers,
Matt Stuehler
I'm working on an application that populates a number of text frames with
dynamic text.
It uses code like this:
Set oSlide = oPres.Slides("slidename")
Set oShape = oSlide.Shapes("textarea")
oShape.TextFrame.AutoSize = 1
oShape.TextFrame.TextRange = "Blah, blah, blah"
I'm trying to get the textFrame to resize automatically to fix the text, so
that I can then determine it's size in order to fit other text frames around
it.
However, it appears that the textframe isn't resizing automatically.
If I check the presentation after my script has run, and check the
properties of the text frame, "Auto size" is checked, so I'm not sure what
the problem is.
Many, many thanks in advance for any advice or insight!
Cheers,
Matt Stuehler