I have following macro as time based run
Application.OnTime TimeValue("12:2:20"), "ADPATEL"
what I want is to popup msg box before 3 sec and close it automatically in 3 seconds
Have tried following method but it didn't close msgbox automatically
Dim AckTime As Integer, InfoBox As Object
Set InfoBox = CreateObject("WScript.Shell")
AckTime = 3
Select Case InfoBox.Popup("Click OK or do nothing within 3 seconds.", _
AckTime, "This is your Message Box", 0)
Case 1, -1
Exit Sub
End Select
Any help is appriciated