T
TonyT
Hi,
I'm trying to Inport Text to populate a form by pasting into an unbound text
box and then parsing the information through code. My problem is that I can't
identify Upper & Lower Case letters using Chr$() as I thought I'd be able to,
as test in the immediate window i've tried the following;
"a" = chr$(90) - Answer True (correct)
"A" = Chr$(90) - Answer True (incorrect UCase A = Chr$(65)
to make it even more complicated I'm trying to identify if 2 following
spaces are Capitals using Mid(Me![Text24], PosCnt + 1, 1) and
Mid(Me![Text24], PosCnt + 2, 1) and using >= Chr$(65) And <=Chr$(90) etc.,
but ? Chr$(65) = Chr$(97) evaluates to True also incorrectly, What other
method should I employ?
Thx TonyT.
I'm trying to Inport Text to populate a form by pasting into an unbound text
box and then parsing the information through code. My problem is that I can't
identify Upper & Lower Case letters using Chr$() as I thought I'd be able to,
as test in the immediate window i've tried the following;
"a" = chr$(90) - Answer True (correct)
"A" = Chr$(90) - Answer True (incorrect UCase A = Chr$(65)
to make it even more complicated I'm trying to identify if 2 following
spaces are Capitals using Mid(Me![Text24], PosCnt + 1, 1) and
Mid(Me![Text24], PosCnt + 2, 1) and using >= Chr$(65) And <=Chr$(90) etc.,
but ? Chr$(65) = Chr$(97) evaluates to True also incorrectly, What other
method should I employ?
Thx TonyT.