Closed Thread
Results 1 to 3 of 3

Multiple Lines in User form text box in Separate rows

Hybrid View

  1. #1
    Registered User
    Join Date
    08-16-2016
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    6

    Post Multiple Lines in User form text box in Separate rows

    Hi,

    I have a scenario as below:-

    1) Create one userform with 1 text box with Multiple lines set to TRUE

    2) Enter the multiple lines in the text box,
    example:
    4.2.2 Get & Stay Ready – File Transfer Management
    4.2.3 Get & Stay Ready – Reference Data Management
    4.2.4 Get & Stay Ready – Application & Security
    4.2.5 Get & Stay Ready – Operational Schedules
    4.2.6 Get & Stay Ready – Switch Migration and Supporting Transit Perioda

    3) Those populated values in single cell to be placed into single row (based on newline??)
    i.e.
    Row A1 -> 4.2.2 Get & Stay Ready – File Transfer Management
    4.2.3 Get & Stay Ready – Reference Data Management
    4.2.4 Get & Stay Ready – Application & Security
    4.2.5 Get & Stay Ready – Operational Schedules
    4.2.6 Get & Stay Ready – Switch Migration and Supporting Transit Period

    4) Those populated values in single cell to be placed into single row (based on newline??)
    i.e.
    Row A1 -> 4.2.2 Get & Stay Ready – File Transfer Management
    A2 -> 4.2.3 Get & Stay Ready – Reference Data Management
    A3 -> 4.2.4 Get & Stay Ready – Application & Security
    A4 -> 4.2.5 Get & Stay Ready – Operational Schedules
    A5 -> 4.2.6 Get & Stay Ready – Switch Migration and Supporting Transit Period

    Is there any way i can do this in VBA?

    Assuming the Sheet name is Sheet1, how can i accomplish this scenario?

    Thanks before the reply.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,704

    Re: Multiple Lines in User form text box in Separate rows

    This appears to be a homework or class assignment.

    Nothing is more frustrating than to be working on homework and to get stuck. Without guidance, you might have no hope of finishing the assignment before the deadline. The Internet can be a big help in that respect, but without learning how to get the right answer, asking others to solve your homework questions for you simply becomes a downward spiral (and it's cheating).

    We do not want to contribute to you cheating yourself out of your education, but we also acknowledge that seeking assistance to learn a concept is a legitimate request.

    If you are genuinely interested in receiving help in the form of tutoring or coaching, then please rephrase the title of your original post to clearly indicate you are seeking coaching or tutoring help. Any forum members (who are willing to assist as a tutor) will modify their responses accordingly to facilitate your learning. Tutors don't tell you the answers, they help you figure it out for yourself; so don't expect answers, expect suggestions, or just plain hints. Also, be specific in describing the function/formula or technique you trying to learn, and tell us what you have attempted so far. Otherwise, expect your plea for homework answers to be ignored.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,704

    Re: Multiple Lines in User form text box in Separate rows

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Lines in User form text box in Separate rows
    By prabhucse in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-05-2016, 05:24 AM
  2. Multiple Lines in User form text box in Separate rows
    By prabhucse in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-05-2016, 12:28 AM
  3. VBA User Form needs to accept multiple lines/breaks pasted in it
    By swolfe2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2013, 11:50 AM
  4. Insert Rows Based on text Box Entry in User Form
    By aqhibjaveed2183 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-16-2013, 02:44 AM
  5. multiple text box references from a user form
    By Ford_Guy in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-13-2008, 09:46 AM
  6. show multiple rows on a user form
    By WayneR in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2006, 08:10 PM

Tags for this Thread

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