From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run excel macro from Labview

Hi,
I would like to send parameters to an excel macro started from Labview. (for example a file name to be oppened). For now I´m able to run the macro, but I don´t know how to use "Arg1" to "Arg30" in the "Run" Application Method (help doesn´t work).
I enclose with this e-mail my Labview file.
Thank you for your help

Nicolas
0 Kudos
Message 1 of 3
(5,166 Views)
Nico,

Try this quick example out. It just adds two numbers together and places it in Cell A1.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
Download All
0 Kudos
Message 2 of 3
(5,166 Views)

I realize that this a 10-year old thread, but it should be noted that this doesn't not do anything with 2012 LV or 2010 Excel.

So unless you are using 10 year old software this thread is not helpful.

Message 3 of 3
(3,382 Views)