Code for Closing all Excel Applications

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Matt said:
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

Do you want this code to run from Microsoft Access, the database
program?
 
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
 
Matt said:
Yes I would like the code to run from Access. Basically after I hit
an Exit button, all Excel Processes should close.

Matt

That is what I thought, but we get a lot of Excel users here and if that
was it I wanted to direct you to somewhere that could better answer your
question. Sorry I don't have an answer, but hopefully someone here will.
Give it a few days anyway for everyone to check through.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top