VBA info message on exiting MS Access

  GlasgowMary 17:52 26 Jun 04
Locked

I would like to have an info message appear when I quit MS Access by clicking the 'X' button and\or the File>Exit command.

I'm very new to this so hope this isn't a stupid question.

Thanks in advance,
Glasgow Mary

  VoG II 18:56 26 Jun 04

I don't know the answer but this will "bump" you.

In VBA in Excel it would be easy:

Sub Auto_Close()

MsgBox "Goodbye World!"

End Sub

I'm not familiar with Access so I don't know whether a similar construction is possible. However what you need is something like that or an event-driven procedure click here

click here may help as well.

  GlasgowMary 10:43 03 Jul 04

Thanks, VoG.

You're response gave me good tips on where to look next.

Regards,
GlasgowMary

This thread is now locked and can not be replied to.

Huawei P10 review

1995-2015: How technology has changed the world in 20 years

How VR is being used to simulate space

New iPad, iPhone SE & Red iPhone 7 on sale now