Can I close a message box after a timed interval?

  • Thread starter Thread starter Robin Chapple
  • Start date Start date
R

Robin Chapple

I have a database that provides me with RTF reports in Word. I use a
message box to confirm that the operation was successful.

Can I time it to close after say 5 seconds?

Thanks,

Robin
 
Robin,

Instead of a standard message box, you can use a simple form with only one
label displaying the message, and set a timer event on it to sloe it after
5000 msec.
Play with the forms properties to not display contol box, record selectors,
dividing lines, navigation buttons and the like.

HTH,
Nikos
 
Create your own "Message" Form and use the Timer Event of the Form to close
itself.
 
Thanks Nikos, and Van

That works well. I made them as pop ups.

I needed two and now one appears tight oin the top left corner of the
screen ans the other appears over the data, I would prefer that they
were the same. I cannot see any options that will move them

Thanks,

Robin
 
You can use the MoveSize Method of the DoCmd object.

See Access VB(A) Help on MoveSize.
 
Back
Top