Hi Friends,

I need to write a piece of code to identify if an Excel session(the process which is listed in the Task Manager) is already running or not?. Can anyone guide me with this?

Any help will be much appreciated!


I don't know but If you can mess with tasklist and subprocess module (for XP/VISTA). This is purely untested as I'm not sure if tasklist returns anything!

Hi got a nice piece of code from this site:

I am now able to check if an Excel process is running or not. The code does not use WMI and works fine on Windows :)....

Thanks for the help!!!....

Thanks and Regards,