[Interest] Attaching to an existing MS EXCEL instance
alexmalvtk at gmail.com
Tue Aug 7 05:12:00 CEST 2012
I think you should read:
This might be not as easy as you think:
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.
And I am not sure if Qt can help you anyhow.
More information about the Interest