Using a VB app I launch Excel + populate/display a workbook. All works fine if the user closes the workbook then displays another workbook (from witin the VB app)..BUT if the the user closes the Excel application, subsequent workbooks are not visible (although the frame of excel is visible and the application merrily carries on populating the workbook).
I use the Workbook_BeforeClose method to stop some specific workbooks being closed but I want the user to be able to close others so I can't block closing the last workbook in the collection all the time. Is there someway i can identify when the application close button has been pressed rather than the workbook close button?
I'm using VB6 with Excel 2000.
I use the Workbook_BeforeClose method to stop some specific workbooks being closed but I want the user to be able to close others so I can't block closing the last workbook in the collection all the time. Is there someway i can identify when the application close button has been pressed rather than the workbook close button?
I'm using VB6 with Excel 2000.