LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimize Excel programmatically in labview

Solved!
Go to solution

Hi,

 

I am new to LabVIEW. I would like to minimize already opened Excel programmatically.

I have used ActiveX to create new Excel. It is working, then I want minimize the same excel afte 3sec automatically.

I have attached screen shot with this post. 

Thank you in advance

0 Kudos
Message 1 of 4
(2,725 Views)

So just wait for 3 seconds and set the application.visible to false.  Just be careful.  Making Excel not visible does not mean that Excel is closed.  Check the processes tab in Task Manager and you'll see an Excel instance for each time you run your code, unless you are actually calling Application.Quit each time. 

Example_VI_BD.png

 

aputman
0 Kudos
Message 2 of 4
(2,676 Views)
Solution
Accepted by topic author NewLabVUser

Sorry, you said you want to minimize Excel, not hide it.  Use the property Application.WindowState.

aputman
Message 3 of 4
(2,669 Views)

Thank you aputman....

 

I could able minimize excel with your solution.

0 Kudos
Message 4 of 4
(2,656 Views)