Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Attaching to Running Process
My C# application allows the user to open a file with excel. It is
implemented like this: Process.Start(excel.exe,FileName); It seems to work fine, it starts Excel, which opens FileName and allows the user to process it. The problem is that if Excel is already running, it opens another instance of Excel, instead of adding it as another worksheet in the existing instance, which would be faster. So I want to detect whether Excel is running, and if it is, I want to open FileName as a new worksheet in that instance. If anyone can suggest how to do this, I would appreciate it. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Starting excel and running it on the same process | Excel Programming | |||
Excel Process Still Running | Excel Programming | |||
How to Check if a Process is Running | Excel Programming | |||
How to count process running time ( process not finished) | Excel Programming | |||
How to count process running time ( process not finished) | Excel Programming |