+ Reply to Thread
Results 1 to 3 of 3

RE: placing the cursor on a new blank line at the end of any text in a userform textbox...

  1. #1
    Registered User
    Join Date
    04-17-2009
    Location
    Kingwood, Texas
    MS-Off Ver
    Excel 2003
    Posts
    7

    RE: placing the cursor on a new blank line at the end of any text in a userform textbox...

    How would you write the correct vba code so that the blinking cursor will always appear at the END and BELOW any text, thar is, on a new blank line, whether 1 line or many lines of text in a userform textbox ?

    Please Login or Register  to view this content.
    The following does not always work in every case, but is the best solution I could come up with on my own.
    Please Login or Register  to view this content.

    I know there has to be a simple, more elegant solution that will always work, than what's above.

    Thanks for anyone's help.
    cr

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: placing the cursor on a new blank line at the end of any text in a userform textbox...

    Possibly...
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: placing the cursor on a new blank line at the end of any text in a userform textbox...

    Need check before add new line to avoid add many new line.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Userform Textbox - Cursor Position
    By SiriusProjects in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2019, 07:48 AM
  2. [SOLVED] Cursor in a specific textbox in userform
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-21-2018, 01:58 AM
  3. Userform Multiline textbox w/ auto adjust height - first line of text disappears
    By jrooney7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-05-2018, 01:49 PM
  4. Userform Textbox Text - How to jump to next line
    By bimmy80 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2016, 01:56 AM
  5. Userform Textbox Text - How to jump to next line
    By bimmy80 in forum Excel General
    Replies: 0
    Last Post: 04-01-2016, 01:56 AM
  6. [SOLVED] Placing the data from a range of cells into a userform textbox
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2014, 03:51 PM
  7. Move cursor to textbox in a userform
    By jgmiddel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-29-2006, 09:55 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1