|
-
Nov 2nd, 1999, 11:35 PM
#1
Thread Starter
Hyperactive Member
I have a text file like this
1020534847101000,mark,blue
1030534877204000,karen,red
1040534678405000,paul,green
I want to loop through the file and only store the first
part/number in the variable store. Then show in msgbox.
so on the first loop store would hold 1020534847101000
next loop would have 103... etc
but what is happening is I get the number then I get the name
then the color,
How do I only get the first part, know what I mean ?
Dim store as string
filenum = freefile
Open filename For Input As #filenum
Do Until EOF(filenum)
Input #filenum, store
MsgBox store
Loop
Close #filenum
Thanks
> locutus
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
|