LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open excel file with button

Solved!
Go to solution

Hello everyone,

 

Does anyone know if there is a way to open an excel file by pressing a button? I mean, in my VI I have a button, and if I press it, it should open the excel file.

0 Kudos
Message 1 of 3
(785 Views)

Research the command line interface node and the Excel command line options.

 

Use the command line interface node to launch Excel with the intended file on pressing the button.

 

This is just one more simple option. 

Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 3
(737 Views)
Solution
Accepted by topic author Mocte117

Hi,

 

Alternatively you can try the VI described here:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019YKHSA2&l=en-US

 

This will actually open any document with its default application.

Attached is a small example.

 

Regards,

Raphaël.

Message 3 of 3
(734 Views)