I get an error...
How to fix multiple condition...Code:
while Hex(Asc(Mid(Rawstr, RStringIdx, 1))) <> "9" or chr(10)
Printable View
I get an error...
How to fix multiple condition...Code:
while Hex(Asc(Mid(Rawstr, RStringIdx, 1))) <> "9" or chr(10)
Something like this but there other ways to write it (select case, if - else)
Code:Do While Asc(Mid(Rawstr, RStringIdx, 1)) <> 9 Or Asc(Mid(Rawstr, RStringIdx, 1)) <> 10
'...
Loop
sry but it does not work for me...
I still receive " run-time error '5' : invalid procedure call or argument"...
If RStringIdx is < 1, you will get that error. Validate it is > 0.
That's probably because the Mid test is invalid. What is the value of RStringIdx when it fails?