I open excel application from VB6 using the following procedure and then close it at the end. Though the application close visibly, it keeps running in the background. After closing the application, I press CTR-ALT-DELETE, and there I can see that excel is still running. Any clues.
Dim objxl As Object
Dim objbook As Object
Set objxl = CreateObject("Excel.Application")
objxl.Workbooks.Add
Set objbook = objxl.ActiveWorkbook
.
.
.
Application.DisplayAlerts = False
objbook.Saved = False
objxl.Quit
Application.DisplayAlerts = True
Dim objxl As Object
Dim objbook As Object
Set objxl = CreateObject("Excel.Application")
objxl.Workbooks.Add
Set objbook = objxl.ActiveWorkbook
.
.
.
Application.DisplayAlerts = False
objbook.Saved = False
objxl.Quit
Application.DisplayAlerts = True