ifisnumeric(a)=falsethen
MsgBox"该数不为数字",,"友情提示"
endif
忘记什么样的叫整数了!~
没有小数点的都叫整数吗?
如果可以拿小数点判断就用instr(a,",")>0就是有小数点