LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excel Colour properties modified via LabVIEW

smercurio,

 

Thanks for the code. Unfortunately my problem persists. I've attached a screen shot of the VI you sent me as I've opened it, untouched and broken! There must be a setting or a library in LabVIEW that I don't have. Not sure where to look next. 😞

 

Andrew

0 Kudos
Message 11 of 18
(2,767 Views)

What version of Excel are you running? What you would see would be dictated by that, and nothing to do with LabVIEW.

 

What happens if you click on the "Item" element? You should get a popup list of methods that can be selected. What happens when you re-select "Item"?

0 Kudos
Message 12 of 18
(2,762 Views)
I'm running Excel 2007. Yes, the menu comes up when I click "item", but no change when I reselect it.
0 Kudos
Message 13 of 18
(2,757 Views)
I figured you were probably running 2007. Microsoft often changes the datatypes on their ActiveX classes just because they like to screw around with people's code. What you will need to do is to use the Variant To Data function to convert the variant to the appropriate ActiveX class. In this case it would be the Excel.FormatCondition. You should then be able to connect the output of the Variant To Data to the property node. See attached.
Message 14 of 18
(2,736 Views)

The appropriate ActiveX class. That's the trick! Thank you for your efforts

 

Andrew

0 Kudos
Message 15 of 18
(2,718 Views)

I just posted a related question in a new thread.

 

 

Andrew

0 Kudos
Message 16 of 18
(2,666 Views)

hello at all,

someone can convert the example attached on top in 8.5 LV relase ?

 tnks

0 Kudos
Message 17 of 18
(2,275 Views)
0 Kudos
Message 18 of 18
(2,269 Views)