Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Range.ShowAll Property (Word)

True if all nonprinting characters (such as hidden text, tab marks, space marks, and paragraph marks) are displayed. Read/write Boolean.

expression .ShowAll

expression Required. A variable that represents a Range object.

This property only affects the specified range when Show Markup is set to Show Revisions in Balloons. When Range.ShowAll is set to False, Range.Text provides all of the text in the range except deleted text. If you set Range.ShowAll to True, then Range.Text provides all of the text in the range including the text that was deleted.

The following example displays all the text in the specified range, excluding deleted text.

Note Note

This example assumes that the active document has change tracking enabled, that Show Markup is set to Show Revisions in Balloons, and that some text has been deleted from the document.

Sub HideDeletedText()
Dim r As Range

Set r = ActiveDocument.Range
r.ShowAll = False
Debug.Print r.Text

End Sub
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.