Click事件
Dim pwd As StringIf InputPassWord(pwd,"提示","请输入密码:") Then If pwd <> "123456" Then msgbox("密码错误") Return End IfElse msgbox("请输入密码") ReturnEnd If
msgbox("执行完毕")