C
CA
I am able to obtain a running instance of Excel using the following
code.
<code>
Excel.Application app = (Excel.Application)
Marshal.GetActiveObject("Excel.Application");
</code>
Usually this retrieves the first instance of Excel that was opened.
Suppose there is more than one instance of Excel running on a given
machine. Is it possible to get a reference to each of these instances?
Any help would be greatly appreciated.
Thanks
Chris
code.
<code>
Excel.Application app = (Excel.Application)
Marshal.GetActiveObject("Excel.Application");
</code>
Usually this retrieves the first instance of Excel that was opened.
Suppose there is more than one instance of Excel running on a given
machine. Is it possible to get a reference to each of these instances?
Any help would be greatly appreciated.
Thanks
Chris