Imported Styles don't work

A

AnnP

I have created a document with styles, both Heading and otherwise, which contain automatic numbering and which works the way I want. I then saved it as a template and used it to import the styles from there into other documents where I want to apply my numbering. However, the styles appear to loose their numbering and don't work at all the way the original document did

Can anyone help?
 
J

Jean-Guy Marcil

Hi Ann,

I have seen that and had to deal with this numerous times, this is what I
consider a bug in Style handling.
I bet you used the Organizer to transfer the styles, and then realized that
you either had lost the numbering/bullets or that tabs/indentation have
changed.

If that is the case, there may be a clever solution I do not know about, but
here is what I do:
Instead of transferring the styles through the Organizer (I still transfer
non/bulleted-numbered styles with it though):
I type some mumbo-jumbo, one line per style I want to transfer;
Apply a different "problem" style to each line;
Select the lines;
Copy/paste to the new document.
This way the styles are transferred and usually the bullets/numbers stick
(This has been my experience anyway). That way has never failed me, but the
Organizer has almost every single time. This is why I have not bothered
looking for an alternative as this works.

If I know that I am going to use some styles in a large number of unrelated
documents, then I write a macro to produce the styles and run the macro in
the documents where I want those styles, that is the best method, but can be
very time consuming if you are not familiar with macros...

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org


AnnP said:
I have created a document with styles, both Heading and otherwise, which
contain automatic numbering and which works the way I want. I then saved it
as a template and used it to import the styles from there into other
documents where I want to apply my numbering. However, the styles appear to
loose their numbering and don't work at all the way the original document
did.
 
M

Margaret Aldis

Hi Ann and Jean-Guy

This area seems very unpredictable and has certainly changed for me across
Word versions.

Copying styles 3 times while the Organizer is open seems to work for some
people/versions.

If the numbering has been set up correctly, and in later versions of Word,
the Tools > Template and Add-ins is normally a better choice - but can still
lose the list template linking sometimes.

I'm not sure the copy and paste method will work for existing documents - if
Word thinks the style is 'in use' it will use the current definition rather
than overwrite it. I would check anyway that you aren't getting the
numbering coming in as direct formatting (i.e. does it disappear when you do
a Ctrl-Q), as I've noticed that Word often 'cheats' on this one <g>.

More about updating styles (but some of it out of date, I think) in

http://word.mvps.org/faqs/macrosvba/UpdateStyles.htm
 
J

Jean-Guy Marcil

Margaret Aldis said:
Hi Ann and Jean-Guy

This area seems very unpredictable and has certainly changed for me across
Word versions.

Copying styles 3 times while the Organizer is open seems to work for some
people/versions.

If the numbering has been set up correctly, and in later versions of Word,
the Tools > Template and Add-ins is normally a better choice - but can still
lose the list template linking sometimes.

I'm not sure the copy and paste method will work for existing documents - if
Word thinks the style is 'in use' it will use the current definition rather
than overwrite it. I would check anyway that you aren't getting the
numbering coming in as direct formatting (i.e. does it disappear when you do
a Ctrl-Q), as I've noticed that Word often 'cheats' on this one <g>.

Yes, I forgot to mention that in my post... the copy/paste suggestion
assumes that there are no styles with the same names as the one being pasted
in the target document. So it will not work for built-in styles...
Thanks for the pointing this out!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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