
June 2nd, 2005, 10:33 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 1
Time spent in forums: 14 m 26 sec
Reputation Power: 0
|
|
|
Help with a little error..
I spent a while tryng to figure this out. eh. I figure i'll ask some fellow programmers.
Code:
[1] buf = Left(sArray(counter), 12)
[2] I = InStr(buf, " ")
[3] a = I - 2
[4] name = Left(buf, a)
I get a "Run Time Error '5' - Invalid procedure call or argument" on line 4 (the numbers in the code box are the lines).
Anyone know what the problem is? From what I know, it should work.
|