View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Vic Eldridge Vic Eldridge is offline
external usenet poster
 
Posts: 50
Default How to determine if instance of Excel is running


FWIW, that will only stop DDE requests (such as when launching a file from
Explorer), but won't stop OLE requests (such as when double-clicking an Excel
file embedded in a Word document or using any other application that uses
GetObject() to find a running instance of Excel to use.



Oh no, foiled again!

Perhaps if Yury is keen he can look into the RevokeActiveObject API
which will remove an object's entry in the Running Object Table,
(which is where GetObject() goes to do it's work). I wish him the
very best of luck!

Here's a start...
http://support.microsoft.com/default...b;en-us;155690


Regards,
Vic Eldridge