WD2000: Document Layout Changes When You Use Compare Documents Feature (211250)
The information in this article applies to:
This article was previously published under Q211250 SYMPTOMS
When you use the Compare Documents feature to compare editing revisions between an original document and the revised document, the layout of the document may change. For example, additional lines and page breaks may appear, and line wrapping may change. See the "More Information" section of this article for a more complete description of the symptom.
CAUSE
When you compare 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 the display of revision marks on or off. Note that these methods do not affect whether or not changes are accepted or rejected. These methods only affect the way that the information is displayed.
To turn display of revision marks on or off, 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 forApplications, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
226118 OFF2000: Programming Resources for Visual Basic for Applications
212536 OFF2000: How to Run Sample Code from Knowledge Base Articles
To quickly turn revision marks on and off, use the following sample Microsoft 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 Microsoft Help on the Help menu, type menu in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Then double-click the selected text to open the Add a command or other item to a menu topic.
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 then click Highlight Changes.
- In the Highlight Changes dialog box, click to clear or select the Highlight changes on screen check box.
REFERENCESFor additional information about revision marks in Word, click the article number below
to view the article in the Microsoft Knowledge Base:
212058 WD2000: Formatting/Drawing Layer Change Unmarked in Compare Docs
Modification Type: | Major | Last Reviewed: | 5/13/2002 |
---|
Keywords: | kbdtacode kbmacroexample kbprb KB211250 |
---|
|