exit access file with vba code

  • Thread starter Thread starter thread
  • Start date Start date
T

thread

hi all,
does anyone know how can i close the access file with a vba code?
 
thread said:
hi all,
does anyone know how can i close the access file with a vba code?

Exit Access completely?

DoCmd.Quit

or

Application.Quit

Note that, if there's a form open with a record that may be dirty
(modified but not yet saved), you'll probably want to explicitly save
opr discard the record first.
 

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

Back
Top