Hi,
I have a user form with a close form button. The sub for this button is simple:
Private Sub CloseButton_Click()
Unload Me
Application.Quit
End
End Sub
Since Macros run in excel, after this button is clicked, the "do you want to save the changes you made to configurator.xls?" dialogue box appears when it closes excel. Is there any way to disengauge this box, or at least choose the "no" option using VBA code?
I have a user form with a close form button. The sub for this button is simple:
Private Sub CloseButton_Click()
Unload Me
Application.Quit
End
End Sub
Since Macros run in excel, after this button is clicked, the "do you want to save the changes you made to configurator.xls?" dialogue box appears when it closes excel. Is there any way to disengauge this box, or at least choose the "no" option using VBA code?