Results 1 to 8 of 8

Thread: Arrays

Hybrid View

  1. #1
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Arrays

    ... OR ...
    VB Code:
    1. Private Sub Command1_Click()
    2. Dim strValues$
    3. Dim arNumbers() As String
    4.  
    5.     strValues = "404933,165425,907356,992437,665768,541879,509990,203261,255631,108982"
    6.     arNumbers = Split(strValues, ",")
    7.     Debug.Print arNumbers(1)
    8.  
    9. End Sub

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Utah
    Posts
    397

    Re: Arrays

    Thanks for all the help, works perfect.

  3. #3
    Member
    Join Date
    May 2003
    Posts
    53

    Re: Arrays

    Quote Originally Posted by RhinoBull
    ... OR ...
    VB Code:
    1. Private Sub Command1_Click()
    2. Dim strValues$
    3. Dim arNumbers() As String
    4.  
    5.     strValues = "404933,165425,907356,992437,665768,541879,509990,203261,255631,108982"
    6.     arNumbers = Split(strValues, ",")
    7.     Debug.Print arNumbers(1)
    8.  
    9. End Sub

    The above example works perfect for single dimensional array , How is it possible to do the same example for array (2,12) etc.
    Syed Nadeemulla Hussaini
    # I-2,C & FM Quater
    Hutti Gold Mines Co Ltd.
    Raichur Karnataka
    INDIA

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Arrays

    Sorry for late reply.
    See my sample in this thread .

Posting Permissions

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



Click Here to Expand Forum to Full Width