Check to See if Excel is Already Open

L

Lynn

I have code that runs and upon completion an excel
spreadsheet will open. What I would like to do before the
code runs is to check to see if the spreadsheet is already
open. If the spreadsheet is open it will give the user a
msgbox telling them to close the spreadsheet first. If the
spreadsheet is not open, the code will then run.
 

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

Top