04-05-2018 08:35 AM
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.
04-05-2018 08:46 AM
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
04-05-2018 09:03 AM
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).
@GavinTWhen 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!
04-06-2018 07:58 AM
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
04-06-2018 08:51 AM
@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?
04-06-2018 05:07 PM
@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.