LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Category Axis Label using ActiveX

Hey bfeddeck,

 

I'm not certain this is actually a change in the Excel 2016 type library, but I was able to get this to work using an array of string constants for the category names. Anything else threw an error, but once I made an array of strings and fed it into To Variant, that let me succesfully rename a chart's category labels. That should at least let you get something into Excel. As far as how to format the string so Excel parses as you need it to, I'm not sure, but see if this at least lets you write data into Excel.

 

Cason

NI Applications Engineer

Cassandra Longley
Senior Technical Support Engineer - FlexRIO, High Speed Serial and VRTS
0 Kudos
Message 11 of 12
(584 Views)

I tried what you suggested (see attached) but I still get the error. Maybe I'm missing something. Can you post the vi you tried?

0 Kudos
Message 12 of 12
(571 Views)