W
wba
Hi all,
I want to be able to control if the two leftmost
characters in a string are numbers, e.g. if left$(strVar,
2) = "04"
My code reads :
If InStr(Left$(strCourse, "0123456789") = 0
'
I don't seem to be able to get the syntax right though.
Can anyone help ?
Thank you very much,
W
I want to be able to control if the two leftmost
characters in a string are numbers, e.g. if left$(strVar,
2) = "04"
My code reads :
If InStr(Left$(strCourse, "0123456789") = 0
'
I don't seem to be able to get the syntax right though.
Can anyone help ?
Thank you very much,
W