Message Box

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

Is there an easy way to display a message box or custom
dialog box for 5 seconds and then have it automatically
disappear without having to click OK everytime.

I tried using For...Next statements but the box won't
display during the count down. Any help would be
appreciated.
 
Hi Brian,

The only way that I know of is to create a custom form.
In the OnTimer event, close the form -- docmd.close
acform, me.name -- and set the TimerInterval property to
5000 (in milliseconds). Then, call up this form from
anywhere in your code and it will automatically close in 5
seconds.

Regards,
Jen
 
Back
Top