Hello All,
I have an Access 2007 app that instantiates an instance of Excel, opens a
spreadsheet and populates various cells with Access stuff.
So far, so good ...
But even if the user saves/exits Excel, the Excel instance keeps running.
Even if the Access VBA code does a quit, Excel keeps running.
Excel won't exit until the Access app finishes.
Access must be the parent app and for some reason it really has its hooks
into the Excel process.
I don't have any of the code here right now, but basically I just:
Dim xl As New Excel.Application
Dim wb As New Excel.Workbook
Dim ws As New Excel.Worksheet
Should I have just shelled Excel and then hooked to it?
I think it's fairly common as I've seen quite a bit on "KILLING EXCEL".
This is just bothersome at the point, but I'd really like to know what/why
is happening?
Thanks,
Wayne
I have an Access 2007 app that instantiates an instance of Excel, opens a
spreadsheet and populates various cells with Access stuff.
So far, so good ...
But even if the user saves/exits Excel, the Excel instance keeps running.
Even if the Access VBA code does a quit, Excel keeps running.
Excel won't exit until the Access app finishes.
Access must be the parent app and for some reason it really has its hooks
into the Excel process.
I don't have any of the code here right now, but basically I just:
Dim xl As New Excel.Application
Dim wb As New Excel.Workbook
Dim ws As New Excel.Worksheet
Should I have just shelled Excel and then hooked to it?
I think it's fairly common as I've seen quite a bit on "KILLING EXCEL".
This is just bothersome at the point, but I'd really like to know what/why
is happening?
Thanks,
Wayne