WD97: Compare Documents Reinserts Deleted Paragraph Marks (185483)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q185483 SYMPTOMS
When you compare editing revisions between an original document and its
revised counterpart (on the Tools menu, point to Track Changes, and click
Compare Documents), the layout of the document may change. For example,
additional lines and page breaks may appear, and line wrapping may change.
For an example of this behavior, see the "More Information" section later
in this article.
CAUSE
This behavior is by design of Microsoft Word.
When comparing documents, if revisions include deleted paragraph marks or
manual line breaks, new lines may appear to indicate lines that were
deleted. Word must display any paragraph marks that were deleted to
accurately display the differences between the compared documents.
Also, the word immediately preceding the deleted paragraph mark or manual
line break is listed as part of the revision, and therefore appears twice
(as being deleted and then added back).
WORKAROUND
Although you cannot work around this behavior, you can quickly turn
revision marks on and off. To do this, use either of the following methods.
Method 1: Create a MacroMicrosoft provides programming examples for illustration only, without warranty either
expressed or implied, including, but not limited to, the implied warranties of
merchantability and/or fitness for a particular purpose. This article assumes
that you are familiar with the programming language being demonstrated and the
tools used to create and debug procedures. Microsoft support professionals can
help explain the functionality of a particular procedure, but they will not
modify these examples to provide added functionality or construct procedures to
meet your specific needs. If you have limited programming experience, you may
want to contact a Microsoft Certified Partner or the Microsoft fee-based
consulting line at (800) 936-5200. For more information about Microsoft Certified
Partners, please visit the following Microsoft Web site:
For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:
For additional information about getting help with Visual Basic for
Applications, please see the following articles in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
173707 OFF97: How to Run Sample Code from Knowledge Base Articles
To quickly turn revision marks on and off, use the following sample Visual
Basic for Applications macro:
Sub ToggleShowRevisions()
ActiveDocument.ShowRevisions = Not ActiveDocument.ShowRevisions
End Sub
You can also assign this macro to a toolbar or menu for quick access.
For more information about adding a command to a menu, click Contents
And Index on the Help menu, click the Index tab in Word Help, type the
following text
and then double-click the selected text to go to the "Add a command or
other item to a menu" topic. If you are unable to find the information
you need, ask the Office Assistant.
Method 2: Use the Highlight Changes Command
To manually turn revision marks on and off, follow these steps:
- On the Tools menu point to Track Changes and click Highlight Changes.
- In the Highlight Changes dialog box, click to clear (uncheck) or select
(check) the "Highlight changes on screen" check box.
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbdtacode kbmacroexample kbprb KB185483 |
---|
|