T
T.c.Goosen1977
Im using the following code to quite excel:
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)
Application.Quit
ActiveWorkbook.Close
End Sub
A standard saving message pops up when i click the "x" on the userform,
if I click “yes” it saves the file and quits excel = 100% , if I click
“no” it does not save the file but it quits excel = 100%, but when I
click the cancel button or the "x" it does not unload the standard
excel saving message and resume the userform...it goes into debug mode?
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)
Application.Quit
ActiveWorkbook.Close
End Sub
A standard saving message pops up when i click the "x" on the userform,
if I click “yes” it saves the file and quits excel = 100% , if I click
“no” it does not save the file but it quits excel = 100%, but when I
click the cancel button or the "x" it does not unload the standard
excel saving message and resume the userform...it goes into debug mode?