copy styles macro

M

Mary

Hello,

We use Word 2000. I need to create a macro that will copy
all the styles from a template to the ActiveDocument. I
can create a dialog box where the user can specify which
template, but I don't know how to copy all the styles from
that template to the ActiveDocument. When I just record
the keystrokes, it does each style individually. And Help
shows only how to do it individually. I want to copy all
of the styles as a group to the Activedocument. Is this
possible?

Thank you in advance.

Mary
 
W

Word Heretic

G'day "Mary" <[email protected]>,

I worked around this by having macros that define my style sets for
me. Its a "user-implemented" style gallery. I dont copy, I set ;-)

You could iterate every present style in the source document and then
set it in the target.


Mary said:
Hello,

We use Word 2000. I need to create a macro that will copy
all the styles from a template to the ActiveDocument. I
can create a dialog box where the user can specify which
template, but I don't know how to copy all the styles from
that template to the ActiveDocument. When I just record
the keystrokes, it does each style individually. And Help
shows only how to do it individually. I want to copy all
of the styles as a group to the Activedocument. Is this
possible?

Thank you in advance.

Mary

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

Replies offlist may require payment.
 

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