Help! Word ruined my document map!

شات , دردشة , شات مصر , شات مصرى , شات مصري , شات مصريه , شات مصرية , دردشة مصرية , دردشة مصريه , شات بنات , دردشة بنات , منتدى , منتدي , منتديات , دليل مواقع , مركز تحميل الصور

When I open a file, word reformats it and adds text to the document map. Other times, when I switch to view/document map, word reformats my file and ruins my document map!
I think this happens because word looks for headings to display when you open a document & view/document map is toggled. If it can’t find any right away, it reformats the file to “find” some. It happens mostly to people with a large table of contents that takes up at least a page.
Avoid this whole mess by using a heading at the very start of your document.

The following things seem to work:

Before doing anything, try undo: (control-z)
Then, be sure to turn off auto-formatting: go to tools/autocorrect/autoformat as you type, uncheck “define styles based on your formatting”
Workaround 1:
1. Don’t save your document. Close it right away & don’t save any changes. Reopen the file & hold down the escape key (this avoids reformatting.)
2. Insert a Heading 1 paragraph at the very beginning of the document. This should prevent word from reformatting it the next time you open it. (actually, you can insert an empty paragraph with any heading style, pick one that isn’t displayed on your table of contents so you can avoid a blank entry there.)
Workaround 2:
1. Don’t save your document. Turn off view/document map in all instances of word that you have open. Reopen the document. Now click view/document map. Word should display the document map without reformatting the document.
2. If that fails, try adding a Heading 1 paragraph at the beginning of the document before you toggle view/document map.


If your file has been saved & you can’t seem to get rid of the extra entries in the document map, do this:

1. Take a look at your document map. Figure out the style of the errant entries on the document map. Usually, the extra stuff is text in the normal style.
2. Do a global find and replace for that style & replace it with itself. This should clean the document map of extra entries by reminding Word that the style is not in fact a heading that belongs on the document map. Go to edit/replace, then click “more,” then “format,” then select style normal from the list. You’ll see a list of styles--pick the offending one.
3. Add a Heading 1 paragraph at the very beginning of the document.

Here is a simple macro that finds & replaces normal with normal:


You can obviously edit it to fix any & all styles that word is mishandling

Sub RepairMap()
'
' RepairMap Macro
'
Selection.Find.Style = ActiveDocument.Styles("Normal")
Selection.Find.Replacement.Style = ActiveDocument.Styles("Normal")
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
End SubMon Astuce