This will solve your problem....
Code:Dim arr() As String Dim strTmp As String Open "Testfile.txt" For Input As #1 While Not EOF(1) Line Input #1, strTmp arr = Split(strTmp, "::") 'Do something about arr array here.... '...... Loop Close #1
|
Results 1 to 4 of 4
Thread: get file data into array?Threaded View
|
Click Here to Expand Forum to Full Width |