Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
OK- so here's my code
Sub quit() ' ' result = MsgBox("Did you mean to press the 'QUIT' Button?", _ vbYesNoCancel, "QUIT") If result = vbYes Then GoTo continue1 Else MsgBox "Cancelled", vbOKOnly, "QUIT" GoTo exit1 End If continue1: Application.DisplayAlerts = False Application.quit Application.DisplayAlerts = True exit1: ' End Sub Anyone know why it still asks me if I want to save changes? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can't quit excel | Excel Discussion (Misc queries) | |||
Formulas quit--- | Excel Worksheet Functions | |||
Workbook.Quit | Excel Programming | |||
Can't get Excel to quit | Excel Programming | |||
Quit Application | Excel Programming |