取消
显示结果 
搜索替代 
您的意思是: 

Open excel file with button

已解决!
转到解答

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 项奖励
1 条消息(共 3 条)
1,493 次查看

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 项奖励
2 条消息(共 3 条)
1,445 次查看
解答
接受人 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.

3 条消息(共 3 条)
1,442 次查看