Timed Message Box

C

Conan Kelly

Hello all,

I saw on one of these VB/VBA newsgroups several months back a post about a Timed Message Box (after a defined amount of time the OK
button (maybe it's the default button) is clicked automatically). I must have forgotten to save it.

Does anyone know anything about this? Is this true? How is it done?

Thanks for any help anyone can provide,

Conan Kelly
 
D

Dirk Goldgar

Conan Kelly said:
Hello all,

I saw on one of these VB/VBA newsgroups several months back a post
about a Timed Message Box (after a defined amount of time the OK
button (maybe it's the default button) is clicked automatically). I
must have forgotten to save it.

Does anyone know anything about this? Is this true? How is it done?

I would just use an Access form instead, and use its Timer event to
closed after a specified interval. However, you can probably adapt the
VB code here:

http://vb.mvps.org/samples/project.asp?id=TimedMsg

to do what you want. Note that I haven't looked at that code; I'm just
guessing that it does what you're talking about.
 
Top