PDA

View Full Version : i need to kill 2 processes



eitan cohen
06-05-2013, 09:33 PM
I have a little problem with my vba code,
i'm sure its nothing for you experts.

I need to teminate 2 processes , adobe acrobat & Word

I saw code to terminate proccess in kb (by Marcster)

Basically i need same thing but to kill 2 processes instead of 1.

Thanks

Aussiebear
06-06-2013, 12:27 AM
Can you post the code you found?

mancubus
06-06-2013, 01:43 AM
to terminate an app:
http://www.taltech.com/support/entry/opening_and_closing_an_application_from_vba


to get a list of all open apps:
http://www.vbaexpress.com/forum/showthread.php?t=36677

to terminate multiple apps, you can loop thru the apps or amend the sql string in the procedure.