MSGbox in VBS that updates with value of variable

A workaround would be to use PopUp

Set objShell = WScript.CreateObject("WScript.Shell")
For i = 1 To 3
    objShell.Popup i, 1, "AutoClose MsgBox Simulation", vbInformation+vbOKOnly
Next

This will “autoclose” the MsgBox lookalike after 1 second

Leave a Comment