atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]

Steve

Thank you very much for this info. I didn't think of looking for a VBA
solution and didn't know about CopyStylesFromTemplate, but I think it
could be useful. Perhaps it would also be possible to write a macro for
copying selected styles from a template. I may have a look when I have
some time.

Your suggestion from Shauna Kelly's site is interesting, but it looks as
if it would mean modifying the template, which I don't really want to
do, as it's not mine to play with (I could make my own copy, but then
could have maintenance problems). 

Howard

-----Original Message-----
From: austechwriter-bounce@xxxxxxxxxxxxx
[mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Byrne
Sent: Tuesday, 21 March 2006 21:19
To: austechwriter@xxxxxxxxxxxxx
Subject: atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]

Howard,

You are not alone. I have experienced the same problem with using
Organizer.

In fact, a couple of months ago I posted the same question as you -
except 
that it was about copying bullet styles.

I stumbled on the answer: use VBA. There is a VBA command that copies
all 
the styles from a template to the current document:

ActiveDocument.CopyStylesFromTemplate ("D:\Data\Templates\MIPS 
Procedure.dot")

From my experience, it works.

One problem though, is that it copies all the styles in the template and
so 
you might overwrite styles you didn't want to overwrite. Therefore, you 
might need to create a template containing only the numbered styles that
you 
want to copy.

So far, I haven't found a command to copy just one style at a time.

Regards,
Steve Byrne

PS It might be worthwhile checking where you specified the indentation. 
Shauna Kelly (http://www.shaunakelly.com/word/index.html) suggests that
you 
should define indentation in the Customize Outline Numbered List
dialogue 
box rather than in the Paragraph dialogue box.
**************************************************
To post a message to austechwriter, send the message to 
austechwriter@xxxxxxxxxxxxxx

To subscribe to austechwriter, send a message to 
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.

To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with 
"unsubscribe" in the Subject field.

To search the austechwriter archives, go to 
www.freelists.org/archives/austechwriter

To contact the list administrator, send a message to 
austechwriter-admins@xxxxxxxxxxxxx
**************************************************

Other related posts: