Set WshShell = CreateObject("WScript.Shell") Dim CloseTime,i CloseTime = 5 For i = CloseTime To 1 Step - 1 WshShell.popup "当前时间为" & i,1,"计时",0 Wscript.Sleep 1000 Next MsgBox "时间到!" Set WshShell = Nothing