sleep必须引用apiPrivate Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)outputbox("111")doeventssleep 1000outputbox("222")
添加时间控件 ,在属性里修改或者用语句sleep 1000
sleep 3000就是延时3秒的意思
sleep 1000