M
Marek
Hi
From C#, I need to instantiate MS Excel, allowing the user to modify the
workbook/sheets. The C# then has to wait for the user to close Excel down.
First of all, I need to know when this happens.
When I (manually) close down Excel and go back to the debugger, it appears
that Excel is still actually running, but it has been made invisible
(objExcel.Visible = false).
It seems that this may be an unreliable way of achieving what I want.
Ideally I would like to be able to query Excel before it actually shuts
down, but I guess I can always re-open the workbook to get the information I
need (any new/deleted named ranges). What is the best way to achieve this
functionality?
Thanks.
Marek
From C#, I need to instantiate MS Excel, allowing the user to modify the
workbook/sheets. The C# then has to wait for the user to close Excel down.
First of all, I need to know when this happens.
When I (manually) close down Excel and go back to the debugger, it appears
that Excel is still actually running, but it has been made invisible
(objExcel.Visible = false).
It seems that this may be an unreliable way of achieving what I want.
Ideally I would like to be able to query Excel before it actually shuts
down, but I guess I can always re-open the workbook to get the information I
need (any new/deleted named ranges). What is the best way to achieve this
functionality?
Thanks.
Marek