Purpose
Sets the starting position in the code for a text selection.
Use SelStart to specify the character at which to begin a SelLength text selection.
Syntax
[Form].Field.SelStart (Position)
Position |
A numbered string expression. Use SelStart(0) to set the selection at the beginning of the text field. |
Example
Sub Click()
...
StringField1002.SelStart(5) 'set the starting position for text selection
StringField1002.SelStart(7) 'set the starting position for text selection
...
End Sub
|