+ Reply to Thread
Results 1 to 5 of 5

Convert list in userform ListBox to single horizontal string

  1. #1
    Registered User
    Join Date
    03-17-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Version 2008
    Posts
    3

    Question Convert list in userform ListBox to single horizontal string

    I am looking to take the contents of a ListBox in one UserForm to populate a textbox in another UserForm as a single horizontal string with "/" delimiters.

    Any help would be terrific!

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Convert list in userform ListBox to single horizontal string

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    03-17-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Version 2008
    Posts
    3

    Re: Convert list in userform ListBox to single horizontal string

    Thank you.

    I have attached a sample file. The USERFORM PICS Tab explains what I am looking to accomplish.
    Attached Files Attached Files

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Convert list in userform ListBox to single horizontal string

    Attached file, as you had your defaults in table I have coded the process using table process rather than the mixture of ranges and tables.
    Also introduced the multipage - as this in based on one form you do not have to bother about passing variables by public or global methods.
    any queries post back on this site.
    torachan.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-17-2021
    Location
    Toronto, Canada
    MS-Off Ver
    Version 2008
    Posts
    3

    Re: Convert list in userform ListBox to single horizontal string

    Wow what a great response. Thank you so much for the help!!

+ 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. Replies: 2
    Last Post: 04-16-2019, 07:55 AM
  2. Find Cell Containing String and list in Userform Listbox
    By superdonk in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-31-2013, 02:04 PM
  3. [SOLVED] Convert Vertical list to Horizontal
    By pmor1503 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2012, 10:15 PM
  4. Replies: 3
    Last Post: 05-10-2011, 01:46 PM
  5. [SOLVED] Convert Horizontal Table to Vertical List
    By TXboiler in forum Excel General
    Replies: 3
    Last Post: 04-22-2011, 09:27 PM
  6. Convert multiple x rows for a record to single - vertical to horizontal data
    By DinLA in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-21-2011, 11:47 PM
  7. Convert from Vertical list to Horizontal
    By ravi_m5_2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2009, 03:52 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