This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to set combobox of a cell in Excel

Solved!
Go to solution

generally ,it is quite easy to write or read data into or from excel files by labview, but today I need to set the dropdown choices of a cell by labview and it seems it is a little difficult .

 

what I need is as below:

061101.png

for example,I want to set the 3 dropdowm choices by labview to a cell,what shall I do?

thank you!

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 8
(4,629 Views)

hi,

you find below solution for your topic :

Capture1.PNGCapture2.PNG

Best Regards . 

Kudos are welcome .

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 8
(4,600 Views)

@Emna20 I think the OP wants to use LabVIEW to create a combobox in Excel, not to populate a combobox on a LabVIEW FP.

 

@alii001 In Excel, do you mean a form control Developer - Insert - Combo Box (Form Control), an ActiveX control Developer - Insert - Combo Box (ActiveX Control) or the drop-down list available from the right-click menu of an individual cell, sometimes called a data validation list?

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 8
(4,595 Views)

This might be useful if you're trying to use a data validation list.  A description of the parameters for the Validation.Add method can be found on the Microsoft web site.

 

Excel Data Validation.png

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 4 of 8
(4,590 Views)

hi ,

add (true to wait until printing completed ) and (true to Save changes ) .

Cap1.PNG

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 5 of 8
(4,579 Views)

Thank you! thank you ! I have tried for several days, but got no answer, you are really kindheart and forums.ni is really a great place.

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 6 of 8
(4,573 Views)

Thank you! thank you !

I have tried for several days of it, but got no answer.

you are really kindheart and forums.ni is really a great place.

thank you!


@PsyenceFact  已写:

This might be useful if you're trying to use a data validation list.  A description of the parameters for the Validation.Add method can be found on the Microsoft web site.

 

Excel Data Validation.png


 

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 7 of 8
(4,569 Views)

You're very welcome! (As are Kudos Smiley Wink)

 

Andy

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 8 of 8
(4,566 Views)