用Asc()函数判断,数字是从48到57,小写字母是从97到122,大写字母是从65到90。判断过程:A=inputbox("输入的字符")select case asc(A)case 48 to 57msgbox "数字。"case 65 to 90msgbox "大写字母。"case 97 to 122msgbox "小写字母。"case else msgbox "其他字符。"end select
^_^直接判断Asc码..