Macro to close form after a timeout

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to close a form after a specified amount of time. I have a
countdown timer counting down from 30 seconds on the form, and a macro to
close the form but I just can't get the form to close when the timer reaches
0.

I'm not really good with VBA so hoping I can do it with macros.

Thnx.
 
Damien,

What do you mean by a "countdown timer"? All you need to do is set the
Timer Interval property of the form to 30000 (i.e. 30 seconds), and put
a Close macro on the form's On Timer event property.
 
Back
Top