View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Nigel[_2_] Nigel[_2_] is offline
external usenet poster
 
Posts: 735
Default Test if Word is running

How are you creating an instance of Word?

Post your code.

--

Regards,
Nigel




"John" wrote in message
...
I have a macro that cycles through a group of word docs and imports data
into
an excel spreadsheet. Unfortunetly, if a copy of Word is running before
the
macro runs I get all kinds of errors.

Is there any way to test from Excel if any copies of Word are running, and
if so stop the macro?

Using Excel 2003, thanks in advance!