Range.TextRetrievalMode Property
Word Developer Reference |
Returns a TextRetrievalMode object that controls how text is retrieved from the specified Range. Read/write.
Syntax
expression.TextRetrievalMode
expression A variable that represents a Range object.
Example
This example retrieves the selected text (excluding any hidden text) and inserts it at the beginning of the third paragraph in the active document.
Visual Basic for Applications |
---|
|
This example retrieves and displays the first three paragraphs as they appear in outline view.
Visual Basic for Applications |
---|
|
This example excludes field codes and hidden text from the range that refers to the selected text. The example then displays the text in a message box.
Visual Basic for Applications |
---|
|
See Also