AutoWordSelect property
Specifies whether a word or a character is the basic unit used to extend a selection.
Syntax
object.AutoWordSelect [= Boolean ]
The AutoWordSelect property syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
Boolean | Optional. Specifies the basic unit used to extend a selection. |
Settings
The settings for Boolean are:
Value | Description |
---|---|
True | Uses a word as the basic unit (default). |
False | Uses a character as the basic unit. |
Remarks
The AutoWordSelect property specifies how the selection extends or contracts in the edit region of a TextBox or ComboBox.
If the user places the insertion point in the middle of a word and then extends the selection while AutoWordSelect is True, the selection includes the entire word.
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for