Style import error?

B

bagiu

I want to import styles from one document to another. I know how I can do it,
but once the styles are imported, some of them do not seem to look like in
the original document. Help is appreciated. Thank you.
 
G

Graham Mayor

You will need to update the styles in the document CTRL+A then CTRL+Space to
re-apply the underlying style(s) i.e. the copied styles, to the text.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
B

bagiu

Thank you.

Graham Mayor said:
You will need to update the styles in the document CTRL+A then CTRL+Space to
re-apply the underlying style(s) i.e. the copied styles, to the text.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
B

bagiu

Thank you for your answer. Goind on with my original question, in my text
there are word written in blue rather than in black as it is the rest of the
text. After applying CTRL+A and then CTRL+Space, the entire text turns black.
How can I keep the words written in blue?
 
G

Graham Mayor

The following macro will re-apply the document template and update the
styles in the document to match their configuration in that template, but
will retain the manual formatting and hyperlinks that probably account for
the blue text.

Sub ReApplyTemplate()
With ActiveDocument
sTemp = .AttachedTemplate.FullName
.UpdateStylesOnOpen = True
.AttachedTemplate = sTemp
.UpdateStylesOnOpen = False
End With
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
B

bagiu

When do I have to run the macro? Before applying CTRL+A and CTRL+Space or
before that? Thanks.
 
G

Graham Mayor

Instead of!

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word 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