Duplicate All attributes of a text Box

J

jeff

Hello All

I am attempting to write a vba program that will read all the
attributes of a text box (so i can duplciate them on other slides. I
find that format painter does not do a great job. I have figured out
how to do most of them but am having difficult reading the following

Internal margins
justifcation horizontal (left, right, full, cneter)
justifcation vertical (Top, middle, bottom)
custoom animation

Any help would be appreciated

TIA
 
S

Shyam Pillai

Jeff,

Look at the following properties:
For textframe object - MarginLeft, MarginRight, MarginTop, MarginBottom,
VerticalAnchor, HorizontalAnchor
For textrange object - BoundHeight, BoundWidth, BoundLeft, BoundTop
Animation is a lot more complicated and depends on the version of PPT: You
can take a look at this page - http://skp.mvps.org/ppttimeline1.htm as a
starting point. Works for PPT 2002-2007.

Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com
 
J

John Wilson

As well as Shyam's answer you might also like to know that the format painter
works differently depending on how you select the source material.

Try selecting the text box itself (not the text) and then choose the format
painter and apply to the target. You should find that this time most of those
properties are transferred. (not animation)
--
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
 
B

Brian Reilly, MVP

Jeff,
I already wrote an addin, with some muddling help from fellow MVP
Steve Rindsberg. It is called ShapeStyles and a demo is available on
pptools.com

Trust me it is no trivial task to write this one perfectly. You are
correct Format Painter is weak at this.

Brian Reilly, MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top