Programatically create styles with particular fonts and size?

J

JB

Hi Folks,

How can I programatically generate both character and paragraph styles
wit specific formatting in place? I want this to be part of a macro
which will give choice of styles to enter into a document.

TIA

J
 
C

Cindy M -WordMVP-

Hi Jb,
How can I programatically generate both character and paragraph styles
wit specific formatting in place? I want this to be part of a macro
which will give choice of styles to enter into a document.
I don't understand the question, could you elaborate a bit? Are you
asking how you can create styles "by example"? As far as I know, there's
no way to do this, except by going through all the formatting attributes,
one-by-one.

FWIW, Word 2002 and Word 2003 do something like this, already.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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