Cancel BeforeUpdate Subf on Form Close

  • Thread starter Angelsnecropolis
  • Start date
A

Angelsnecropolis

I have a Form BeforeUpdate command that displays a msgbox when certain fields
need to be updated before the record changes. However, the msgbox displays
also when closing the Form and it requires an individual to click ok, then
closes.

What code can I use to disable the whole sub on form close?

Thanks.
 

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