LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to open/run labview by press button in microsoft excel?

Dear all,

 

I have another problem related to EXCEL. 

 

Now, i want to run my labview by press a button in excel. I'm not sure is it possible to create a press button in microsoft excel?

 

When i press the button in excel, it will trigger, open and run the LabVIEW software.

 

Is there any related forum or example i can refer?

 

Thank you. 

0 Kudos
Message 1 of 6
(584 Views)

that is an excel problem .. you should search for it in *search engine*

e.g. https://stackoverflow.com/questions/20917355/how-do-you-run-a-exe-with-parameters-using-vbas-shell


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 2 of 6
(577 Views)

Hi,

 


 

 I'm not sure is it possible to create a press button in microsoft excel?

 


yes, it's possible. you must active the developer mode on EXCEL to do that (using VBA in EXCEL).

active developer mode

 


@GavinT

When i press the button in excel, it will trigger, open and run the LabVIEW software.

 

Is there any related forum or example i can refer?

 


Use the command shell for it. example

 

Kudos are welcome!Smiley Wink

0 Kudos
Message 3 of 6
(560 Views)

WHY would you want to do this?  You are going to start Excel, and use Excel to start the LabVIEW Development system by pushing an Excel button?  This sounds totally weird and a potential Recipe for Disaster ...

 

Bob Schor

0 Kudos
Message 4 of 6
(512 Views)

@Bob_Schor wrote:

WHY would you want to do this?  You are going to start Excel, and use Excel to start the LabVIEW Development system by pushing an Excel button?  This sounds totally weird and a potential Recipe for Disaster ...

 

Bob Schor


I'm curious about your reasons too , why do you want to do that?

0 Kudos
Message 5 of 6
(505 Views)

@AldhairGarza wrote:

@Bob_Schor wrote:

WHY would you want to do this?  You are going to start Excel, and use Excel to start the LabVIEW Development system by pushing an Excel button?  This sounds totally weird and a potential Recipe for Disaster ...

 

Bob Schor


I'm curious about your reasons too , why do you want to do that?


Me too...

 

Also you do know that if you have a spreadsheet open in Excel you CAN NOT open the same spreadsheet in LabVIEW because Excel will have the file locked and you will get a sharing violation.

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
0 Kudos
Message 6 of 6
(489 Views)