Document map in Word 97 - text in normal style is displaying and unwanted

  • Thread starter Thread starter Helen
  • Start date Start date
H

Helen

Hi everyone,

Hoping someone might be able to help us. The document map in one particular
document (based on a specific template) is displaying text in normal style,
at the same level as Heading 1. If we re-apply normal style to the text in
the document, it disappears from the document map. But on saving, closing
and re-opening the document, the text is back in the document map. I can't
seem to find a lot of detail anywhere on the document map in ver 97, and
don't really know where to start to make it go away. Other documents based
on normal.dot don't seem to have this problem. We're using Word 97.

Any suggestions or pointers to information would be greatly appreciated.
Thanks in advance,

Helen
 
Hi Helen,

When you switch into the document map, it applies outline levels to things
it thinks are headings (short, one line paras, usually--maybe your other
documents don't have any?), regardless of whether you already have headings.
It's a bug, and so far as I know not fixed in later versions of Word. There
are a few related things you can do.

Don't use the Document Map, use Outline View instead:
http://www.mvps.org/word/FAQs/Formatting/UsingOLView.htm

On switching into the Doc Map, look to see if a new AutoFormat has been
added to the Undo list. That's the application of outline levels. Undo it.
Remember to check for this every time, though it may not happen every time.
(this fix has only been tested on a Mac, and not thoroughly).

After the fact:

Use the ResetPara command on the affected paragraphs to remove all direct
paragraph formatting and reset the para to only style-based formatting (the
doc map adds outline levels as direct formatting). ResetPara will not
affect direct character formatting (bold, etc) and the usual keyboard
shortcut is Control-Q.

OR Run this handy macro once posted by Klaus Linke that resets the outline
level of every paragraph to the outline level that is defined in the style.

Dim myPara As Paragraph
For Each myPara In ActiveDocument.Paragraphs
myPara.OutlineLevel = _
myPara.style.ParagraphFormat.OutlineLevel
Next myPara

If necessary, see:
What do I do with macros sent to me by other newsgroup readers to help me
out?
http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm

Hope that helps,
DM
 
Dayo, hi and thank you,
a bug you say!? no wonder there's not a lot in the documentation :-) Many
thanks for such valuable information, and a very handy tip as well - outline
view it is.
best regards,
Helen
 
Glad to help.
DM

Dayo, hi and thank you,
a bug you say!? no wonder there's not a lot in the documentation :-) Many
thanks for such valuable information, and a very handy tip as well - outline
view it is.
best regards,
Helen
 
Hi Dayo,

Just a quick note to let you and others know that I tried the macro of
Klaus' that you were kind enough to include in your message, and it worked a
treat!! The document map is now displaying as it should. The company I'm
trying to help badly wanted to use the doc map, so your help has been
invaluable.

Thanks again,
Helen
 
Back
Top