Private Function MsgTimed(Message As String, Optional Seconds As Integer = 5, _
Optional Title As String = "", Optional Options As Integer = 0)
' Displays a message box for a predetermined duration then auto closes it.
' Uses the same syntax as the built-in Popup function referenced on the page below...
' [I]Ce lien n'existe plus[/I]
CreateObject("WScript.Shell").Run "mshta.exe vbscript:close(CreateObject(""WScript.Shell"")" _
& ".Popup(""" & Message & """," & Seconds & ",""" & Title & """," & Options & "))"
End Function