用on error goto 语句,在可能出现错误的地方设置,在goto 语句后面添加msgBox提示错误,然后退出程序。
在文件里有关闭或退出之类的吧,或着按Alt+F在按Alt+C就可以了.
按上面工具栏里的方块停止键
if 条件 then endend if也可以if 条件 then end
if 系统设定的问题 thenmsgbox "警告!"endend if