On 2002-03-04 12:06, ToddMc wrote:
XL2000user:
I would to use a macro to close its workbook and then shut down XL.
The script below is what I was trying. Each statement runs by itself, but together the macro stops after the worksheet closes. The ap does not shut down.
???
Todd
This works but the SaveChanges=False doesn't seem to work. Any suggestions?On 2002-03-04 12:49, Ian Mac wrote:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.Quit
End Sub
works for me??