Can't exit Access after running a function

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

Guest

I intermittantly get an error message after running a VBA function that has
DoCmd.Quit acSave at the end. The message states that I can't exit access
now becasue there is a VB session open. From all my checks, I have closed
all objects and set recordsets/dbs to nothing. Is there another command that
will close Access properly at the completion of the function. I start this
function via a macro called by the Windows Task Scheduler
 
Back
Top