Type Mismatch now, not before
Dave,
That code depends upon the first two characters of strOutcomes being
numerice. If not, you'll get a type mismatch.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"davegb" wrote in message
oups.com...
lOutcomesCtyNo = Left(strOutcomes, 2)
I got this line of code in a pervious thread, from Tom Olgivy. Now it
won't run, getting a type mismatch. lOutcomesCtyNo is Dimmed as long,
strOutcomes is dimmed string. So why is it a type mismatch? I'm trying
to get the first 2 characters of strOutcomes, which is a number.
Does anyone know?
Thanks!
|