I am doing a "createObject("Excel.Application" in VB.
With the workbook and worksheet and everything works fine.
When I try to popoluate the excel sheet from an access db with "querytables.add(Connection:=rs, Destination:=("A1" where rs is the recordset that holds the connection to the db. And that works fine but my problem is that when I call it again it crashes. The application and the excel application is not up and running but on the task manager there seem to be an instance of it still up with is keeping me from running my app again. The error is: "The remote server machine does not exist or is unavailable. runtime error 462".
Please help.
Thanks in advance
With the workbook and worksheet and everything works fine.
When I try to popoluate the excel sheet from an access db with "querytables.add(Connection:=rs, Destination:=("A1" where rs is the recordset that holds the connection to the db. And that works fine but my problem is that when I call it again it crashes. The application and the excel application is not up and running but on the task manager there seem to be an instance of it still up with is keeping me from running my app again. The error is: "The remote server machine does not exist or is unavailable. runtime error 462".
Please help.
Thanks in advance