[Interest] Attaching to an existing MS EXCEL instance

Alex Malyushytskyy alexmalvtk at gmail.com
Tue Aug 7 05:12:00 CEST 2012


I think you should read:

http://support.microsoft.com/kb/238975/

This might be not as easy as you think:

<quote>
Theoretically, you can iterate the ROT for each individual instance, but
Office applications do not register themselves if another instance is
already in the ROT because the moniker for itself is always the same, and
cannot be distinguished. This means that you cannot attach to any instance
except for the first. However, because Office applications also register
their documents in the ROT, you can successfully attach to other instances
by iterating the ROT looking for a specific document, attaching to this
document, and then getting the Application object from this document.
</quote>


And I am not sure if Qt can help you anyhow.


Regards,
      Alex



More information about the Interest mailing list