Position cursor at end of memo field

J

Jack

I have a memo field with existing data. When the user enters the memo field
to Add new data,
I want to position the cursor at the end of this data preferably on a new
line.
Is this possible?
thanks
 
F

fredg

I have a memo field with existing data. When the user enters the memo field
to Add new data,
I want to position the cursor at the end of this data preferably on a new
line.
Is this possible?
thanks

Code the memo control's Enter event:
Me![MemoControlName] = Me![MemoControlName] & vbNewLine
Me![MemoControlName].SelStart = Len(Me![MemoControlName])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top