![]() |
#2
xiangyue05102016-04-01 16:22
|

dim input as string
input= inputbox("请输入内容")
if input ="" then
msgbox("内容不能为空",5)
..........
end if
......省略号部分我再网上找了个select case的语句,
case 0 msgboxresult.retry=true
input= inputbox("请输入内容")
case 1 msgboxresult.cancle=true
exit sub
请高手帮我看看能不能改进下,总感觉比较繁琐。特别是红字的部分不能用什么函数直接返回到inputbox界面。虚心请教各位,谢谢