Code for Closing all Excel Applications

M

Matt

I am looking for code that will close all Excel applications that are
currently opened. Is there code that will do this without specifying the
name and path of each Excel that is open? I really need code that will
search through my task manager and close every Excel.exe process that is
currenlty opened.

Thanks,
Matt
 
M

Matt

Joseph Meehan said:
Do you want this code to run from Microsoft Access, the database
program?

Yes I would like the code to run from Access. Basically after I hit an Exit
button, all Excel Processes should close.

Matt
 
Top