Range.TextVisibleOnScreen property (Word)

Returns a Long that indicates whether the text in the specified range is visible on the screen. Read-only.

Syntax

expression. TextVisibleOnScreen

expression A variable that represents a Range object.

Remarks

The TextVisibleOnScreen property returns 1 if all text in the range is visible; it returns 0 if no text in the range is visible; and it returns -1 if some text in the range is visible and some is not. Text that is not visible could be, for example, text that is in a collapsed heading.

Property value

INT32

See also

Range Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.