LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ecxel and Report Generation for Microsoft Office

Hi,
I'm trying to do move measurement data to a predefined Excel template. I
need to put data into same template from different measurements into
different places of the template. If the template (and Ecxel) is closed
accidentally outside LabView 7.0 it creates troubles. (Next time Excel do
not open correctly etc.) Is there any way to detect when Ecxel is closed
outside LV. Any other good ideas to prevent Excel to crash or other
solutions.
Thanks in advance EJ
0 Kudos
Message 1 of 3
(2,857 Views)
Unless you must have Excel visible for some reason, the best approach is to make Excel invisible when you open the application. Feed the Excel application object into a property node and set property "visible" to false. Then the only way for a user to close Excel is to end the process in the Windows Task Manager.

Dave.
==============================================

0 Kudos
Message 2 of 3
(2,857 Views)
Thanks Dave, this helps a lot!
Regards Eki

"Dave Kaufman" wrote in message
news:506500000005000000AA7E0100-1079395200000@exchange.ni.com...
> Unless you must have Excel visible for some reason, the best approach
> is to make Excel invisible when you open the application. Feed the
> Excel application object into a property node and set property
> "visible" to false. Then the only way for a user to close Excel is to
> end the process in the Windows Task Manager.
>
> Dave.
0 Kudos
Message 3 of 3
(2,857 Views)