We use VB6/SP4 to export to Excell and the export works fine. The problem is using the quit or close method leaves Excell running if you check in Task Manager. If we exit the VB application the Excell instance then closes. We would like to close Excell as our cst runs multiple reports and each one leave an instance of Excell open and uses up the client resources.
Here is how we close:
xlApp.ActiveWorkbook.Close
xlApp.Quit
Set xlApp = Nothing
Set xlBook = Nothing
Set xlSheet = Nothing
Here is how we close:
xlApp.ActiveWorkbook.Close
xlApp.Quit
Set xlApp = Nothing
Set xlBook = Nothing
Set xlSheet = Nothing