Hi all,
When using application.quit, I cannot seem to get Excell2000 to actually quit. I am using the Analysis ToolPak. When I go into the VBE, the only thing there is “funcres.xla”. Is there something else I should be looking at to fully close Excel?
This is my code (with Interface as a userform):
Private Sub CommandButton5_Click()
Interface.Hide
Unload Interface
Application.ScreenUpdating = False
Application.Visible = True
Application.DisplayAlerts = False
ThisWorkbook.Close
Application.DisplayAlerts = True
Application.ScreenUpdating = True
Application.Quit
End Sub
Thanks,