small remark,

your code will check for a number, but not for an empty cell... (I think)