private sub command1_click()
dim daynum as integer
daynum=inputbox("请输入数字1~7之间")
select case daynum
case 1
print "星期1"
case 2
print "星期2"
case 3
print "星期3"
case 4
print "星期4"
case 5
print "星期5"
case 6
print "星期6"
case 7
print "星期天"
case else
print "输入错误"
end select
end sub