I'm easily confused. Why are you looking for a comma in rundate: InStr([rundate], ",") when there isn't one in the posted example?
(variables should not be enclosed in brackets)
This will evaluate to zero, which will make the Mid function become Mid(rundate,0,-1) which should generate an 'invalid procedure call' error.
Since rundate is not declared, I presume you are not using Option Explicit in all or at least this one module.
While I think the example given will work, the Instr function will still return 0, no? (because there are no spaces either)
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.