I have seen a lot of suggestions for this problem, and I have tried them all, but none seem to work. The VBA code is in a non-Microsoft product (SAP Business Objects, which
Need to use only:
Private Sub Workbook_BeforeClose(Cancel As Boolean) Excel.Application.Quit End Sub