export excel

DesmedtSDesmedtS Member Posts: 53
Hello,

I made an export to excel which works fine. Now there is still one problem. If Excel gets an error caused by different reasons there is still a process in my task manager EXCEL.EXE which must be closed manually before i can export a new excel file.
Now, what i want to do is write some code to clear this exel.exe process.
Till now i haven't find a solution to do this. :(

Has somebody got a solution ?

Thx in advance

Comments

  • AdsoAdso Member Posts: 1
    Try with MS Resource Kit. There is an utility wich lets you kill processes. Additionally you may want to give a try to the "PsTools". The PsKill utility can kill processes both, in a local or a remote computer. They are available for free at www.sysinternals.com.
  • DesmedtSDesmedtS Member Posts: 53
    This is a solution.
    But what i wanted to do is kill the process in for example excel buffer (Table 370) - function. If an error occurs.
  • ARPaulARPaul Member Posts: 10
    Maybe that is something that www.print2excel.com handles.
Sign In or Register to comment.