I am trying to generate a popup that closes after a given WaitTime in seconds.
WaitTime
I consulted this link and this link.
I tried to apply the method from
You're just missing the Select Case:
Select Case
WaitTime = 1 Select Case TemporalBox = WScriptShell.Popup("The message box will close in 1 second.", _ WaitTime, "File processed") Case 1, -1 End Select
I tested and it works...