From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-17-2017 12:13 PM
I have used this code for past versions of Excel but since my upgrade to Excel 2016 I get an error when I try to apply labels to the category axis. I searched and could not find if the property node has changed. I'm using "CategoryNames". Any help would be appreciated.
01-17-2017 12:39 PM
01-17-2017 02:41 PM
Thanks, but that didn't work. I tried minimized, maximized & normal.
01-18-2017 08:04 AM
Hi bfeddeck,
What is the error message you are seeing?
Angela Li
Applications Engineer
01-18-2017 11:32 AM
Error -2147417851 which is undefined.
01-18-2017 02:38 PM
Have you looked at these two discussion forum posts yet? The users seem to be experiencing a very similar problem
http://forums.ni.com/t5/forums/v3_1/forumtopicpage/board-id/170/thread-id/327397/page/1
Angela Li
Applications Engineering
01-18-2017 03:07 PM
You could try using plain text label, something like (label1,label2,...). If you don't get the error then it is probably caused by the syntax. Maybe Excel 2016 doesn't accept =('..', or require a double quote. Worth trying. You can also reselect the CategoryNames property by clicking on it and reselecting it.
It tried this part of the code with Excel 2010 and it worked fine.
Ben64
01-18-2017 05:19 PM
I tried the plain text, same error. I tried reselecting the property, same error. I tried deleting and adding back in the property, same error. I had Excel 2010 and it worked for me too. This started when I upgraded to 2016. The Excel property I'm trying to write to is called "Category Labels" but I can't find that specific property in LabVIEW. CategoryNames is what I have been using.
01-19-2017 04:37 PM
Hi bfeddeck,
I linked a couple of forum posts further up the thread, were they helpful at all?
Angela Li
Applications Engineer
01-20-2017 07:50 AM
I tried all of the suggestions in the links but the error is still there.