Message Box

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.
 
J

Jen

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
 
B

Brian

I hate it when the answer is so simple and I can't figure
it out. Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top