I
Ingman
Hi all,
I want to open and read some information from an excel worksheet from
Microsoft Access 2007. Im using early bindings and the code looks something
like this.
....
Dim xlApp as Excel.application
Dim xlWb as Excel.workbook
Dim xlWs as Excel.worksheet
Set xlapp = New Excel.application
Set xlWB = xlApp.Workbooks.Open(strFilePath)
Set xlWs = xlWb.ActiveSheet
.......
xlWb.Close
xlApp.Quit
Set xlWs = Nothing
Set xlWb = Nothing
Set xlApp = Nothing
The problem is that the Excel process continues to live on in processes, ive
read a lot about this problem and found no "automatic" solution to it. xlApp
is not = nothing, and so process continues to live on. Before i tell my
customers that they have to manually go in and kill the process threw the
task manager i just wanted to check if anyone has a solution to this problem?
Any ideas would be greatly appreciated!
//Ingman
I want to open and read some information from an excel worksheet from
Microsoft Access 2007. Im using early bindings and the code looks something
like this.
....
Dim xlApp as Excel.application
Dim xlWb as Excel.workbook
Dim xlWs as Excel.worksheet
Set xlapp = New Excel.application
Set xlWB = xlApp.Workbooks.Open(strFilePath)
Set xlWs = xlWb.ActiveSheet
.......
xlWb.Close
xlApp.Quit
Set xlWs = Nothing
Set xlWb = Nothing
Set xlApp = Nothing
The problem is that the Excel process continues to live on in processes, ive
read a lot about this problem and found no "automatic" solution to it. xlApp
is not = nothing, and so process continues to live on. Before i tell my
customers that they have to manually go in and kill the process threw the
task manager i just wanted to check if anyone has a solution to this problem?
Any ideas would be greatly appreciated!
//Ingman