Options.VisualSelection property (Word)

Returns or sets the selection behavior based on visual cursor movement in a right-to-left language document. Read/write WdVisualSelection.

Syntax

expression. VisualSelection

expression Required. A variable that represents an Options object.

Remarks

The CursorMovement property must be set to wdCursorMovementVisual to use this property.

Example

This example sets the selection behavior so that the selection wraps from line to line.

If Options.CursorMovement = wdCursorMovementVisual Then _ 
 Options.VisualSelection = wdVisualSelectionContinuous

See also

Options 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.