futrueface

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
'类似msgbox
'定时停留弹出框函数
Sub Print(text,timeout,title)
    Dim WshShell
    Set WshShell = CreateObject("WScript.Shell")
    WshShell.Popup text,timeout,title
    Set WshShell = nothing
End Sub

 

用法:
Print "弹窗显示的内容",10,"对话框在10秒内自动关闭!"
posted on 2014-11-26 15:36  futrueface  阅读(3282)  评论(0编辑  收藏  举报