+ Reply to Thread
Results 1 to 6 of 6

seprate and store string in arrays

  1. #1
    Forum Contributor
    Join Date
    06-02-2005
    Location
    India
    MS-Off Ver
    2007
    Posts
    138

    Question seprate and store string in arrays

    i receive the string through txtbox= "jack;dave;john"

    In above string there are 3 names seprated by 2 semicolon

    I want to store names in array and display msgbox saying...

    array="jack"
    msgbox (array)

    array="dave"
    msgbox (array)

    array="john"
    msgbox (array)

    plz note: string names can be in any numbers seprated by column.
    Also it can be only one name with no semicolon.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525
    If you are on xl200 or later
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-02-2005
    Location
    India
    MS-Off Ver
    2007
    Posts
    138

    Exclamation

    no i don't want it to put in one msgbox.

    there should be each msgbox to display for each-n-every names seprated.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525
    Then
    Please Login or Register  to view this content.

  5. #5
    DM Unseen
    Guest

    Re: seprate and store string in arrays

    use the VBA split function.

    DM Unseen


  6. #6
    Forum Contributor
    Join Date
    06-02-2005
    Location
    India
    MS-Off Ver
    2007
    Posts
    138

    Thumbs up

    thanku jindon,

    it is solved and working perfect..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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