Package to force close all excel files

Is it possible to create a package that causes all excel executable instances to close without saving any changes?

I ask, because we have several programs VB.netand VBAprograms that sometimes leave excel open (invisible) when they fail, and these instances can interfere with future procedures and slow down performance.

+5
source share
1 answer

I suppose you could do this using a TaskKill tool with syntax similar to:

taskkill /f /im Excel.exe

, VB.Net VBA Excel , ( / SO, , , , ).

+7

All Articles