Z
zuignap
Hi people,
I would like to separate the numbers from the Comma , and give a
variable that number
i have the folliwing code:
-------------------------------------------------------
dim str as string
dim count as integer
str = "1,2,3,4,10"
count = len(str) 'result = 10
for i = 1 to count
n = (left(str,i))
debug.print "number: " & n
next i
I want to have the result like this in the direct window
result:
1
2
3
4
10
But there is something not good.. could you see what i do wrong?
Thanxs
I would like to separate the numbers from the Comma , and give a
variable that number
i have the folliwing code:
-------------------------------------------------------
dim str as string
dim count as integer
str = "1,2,3,4,10"
count = len(str) 'result = 10
for i = 1 to count
n = (left(str,i))
debug.print "number: " & n
next i
I want to have the result like this in the direct window
result:
1
2
3
4
10
But there is something not good.. could you see what i do wrong?
Thanxs