Compare Validator(比较验证控件)与RegularExpressionValidator(规则验证控件)及CustomValidator(自定义验证控件)都可以
if CDbl(text1.text) > 0 then msgbox "TextBox控件输入数据大于0"else msgbox "TextBox控件输入数据小于等于0"end if