D
David
Hi there,
I use some code in Excel all the time (or quite a lot) that provides a
timeout msgbox (through WshShell). That is, a msgbox that times out after a
set number of seconds.
However, when I try to use this code in Outlook it does not work. The msgbox
still comes up, but it does not time out.
It is very simple code (as below):
--------------
Set WshShell = CreateObject("WScript.Shell")
RetValue = WshShell.Popup("Do you want to run the automatic distribution
procedure?", 5, "Start procedure?", btnYesNo)
---------------
The 5 indicates the # of seconds and btnYesNo is a constant for the buttons.
Does anyone have any ideas, or can anyone help?
Thanks very much in advance,
David
I use some code in Excel all the time (or quite a lot) that provides a
timeout msgbox (through WshShell). That is, a msgbox that times out after a
set number of seconds.
However, when I try to use this code in Outlook it does not work. The msgbox
still comes up, but it does not time out.
It is very simple code (as below):
--------------
Set WshShell = CreateObject("WScript.Shell")
RetValue = WshShell.Popup("Do you want to run the automatic distribution
procedure?", 5, "Start procedure?", btnYesNo)
---------------
The 5 indicates the # of seconds and btnYesNo is a constant for the buttons.
Does anyone have any ideas, or can anyone help?
Thanks very much in advance,
David