Place cursor at end!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone help me with the code needed to place the cursor at the end of
existing text in a memo box? I have my memo box on page 3 of a multi-tab
sheet. Thanks for your help.
 
Can someone help me with the code needed to place the cursor at the end of
existing text in a memo box? I have my memo box on page 3 of a multi-tab
sheet. Thanks for your help.

Code the Memo control's Enter event:

Me![MemoControl].SelStart = Len(Me![MemoControl])

This will work as long as you tab or use code to enter the field.
It will not work if the user uses the cursor and clicks in the field.
In that case, entry is where ever the cursor is placed.
 
Back
Top