The variable you think has the age really has a blank string (""), and when you treat it as a number it produces the error. So...
1. Your not reading the appropriate variable
2. Your input is not reaching the correct place.
In any case, after you get the input you should first check if its not blank, like so:
if not strX = "" then
'your code here...
end if
Can you send the code?
J