I would like to move the cursor to the end of all the text in a TextBox ( named
) clicking a button on the form.
Both the TextBox and the CommandButton are on a user Form.
I am using the following code but when I click the button I find the cursor at the start of all the text and not at the end of the text.
Private Sub cmdMoveCursor_Click()
txtNote.SelStart = txtNote.SelLength
Thank you for your help