Thanks Gemma,
I have checked the form and the function is only defined once elswhere. (other forms refereto it in this place so at least this appears to work)
Following the code through fubtcion returns "type mismatch". The form is not reading something properly or is mis-referencing...