Make sure no running instances of MS Word?

L

lotus

I need do some work which do not want any instances of MS Word existed.
How to make sure no running instances of MS Word?
 
K

Ken Slovak - [MVP - Outlook]

Look up the syntax of the GetObject command. Use that to test for a running
instance of Word.Application.

Use this variation of the syntax, which won't create a new instance of Word
if it's not already running:

Set oWord = GetObject(, "Word.Application")
 

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