Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004

    Question Unanswered: vba : move cursor in text box

    My problem is simply: I have textbox tb and some text in it. When I use
    text in tb becomes marked and mouse cursor is on the beginning of it.
    Nothing strange - BUT :

    1) Is there some function/method to unmark text
    2) Is there some function/method to move cursor to the end of text

    explanation : text in tb is used for finding records in my subform
    (continuous, tabular) which fields begins with tb

  2. #2
    Join Date
    Jul 2004
    One way I know is to set your keyboard options, in the database Options, to Go to the end of the field. The other is to send the {F2} (Edit) keystroke by using the SendKeys command, but this will put you in edit mode.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts