Excel does not quit
Hi,
I have a problem when I automate Excel from Access
I have tried early and late bindning.
Everything goes fine but Excel remains in Windows Task Manager
My code is here
Sub OpenExcel()
Dim xlApp As Object
Set xlApp = CreateObject("Excel.Application")
' Show Excel Open file dialog
xlApp.Application.Dialogs(1).Show "C:\"
' Some code to process here
xlApp.Quit
Set xlApp = Nothing
End Sub
Any succestions?
-vemaju
ps. I have posted this question in Excel VBA forum too
__________________
-vemaju
|