+ Reply to Thread
Results 1 to 2 of 2

Split String at every "/" then put split string results into a multiline textbox.

  1. #1
    Registered User
    Join Date
    08-22-2014
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    81

    Split String at every "/" then put split string results into a multiline textbox.

    Hi everyone, i know this is probably simple but i need to split a string.

    such as

    "text1/text2/text3/text4/text5"

    and the results to be put into a textbox with each result on a new line.

    iv tried:

    Please Login or Register  to view this content.
    my string comes from a listbox column. as you can see in the example.

    but that throws and error 13.



    cheers

  2. #2
    Registered User
    Join Date
    08-22-2014
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    81

    Re: Split String at every "/" then put split string results into a multiline textbox.

    All good peoples with a bit of perseverance i managed to work out the correct code.

    this is what i ended up with.

    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] How to concatenate a range("a1:am1") to a string that appears in a textbox?
    By yoursamrit2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2014, 07:26 AM
  2. Replies: 1
    Last Post: 08-15-2014, 06:00 AM
  3. Split cell values based on "," and "-" and format as shown below
    By Roop in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2012, 12:28 AM
  4. Can excels Split() function split a string up at multiple spots?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2011, 02:36 PM
  5. How do I split "A1B2" into "A1" and "B2" using text to column fun.
    By Jennifer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2005, 06:06 PM

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