|
-
Dec 23rd, 2004, 11:43 PM
#1
Re: Arrays
... OR ...
VB Code:
Private Sub Command1_Click()
Dim strValues$
Dim arNumbers() As String
strValues = "404933,165425,907356,992437,665768,541879,509990,203261,255631,108982"
arNumbers = Split(strValues, ",")
Debug.Print arNumbers(1)
End Sub
-
Dec 23rd, 2004, 11:53 PM
#2
Thread Starter
Hyperactive Member
Re: Arrays
Thanks for all the help, works perfect.
-
Dec 29th, 2004, 05:24 AM
#3
Member
Re: Arrays
 Originally Posted by RhinoBull
... OR ...
VB Code:
Private Sub Command1_Click()
Dim strValues$
Dim arNumbers() As String
strValues = "404933,165425,907356,992437,665768,541879,509990,203261,255631,108982"
arNumbers = Split(strValues, ",")
Debug.Print arNumbers(1)
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
-
Dec 29th, 2004, 08:34 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|