LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using ActiveX is it possible to edit the text of shapes in Excel?

Solved!
Go to solution

Hello!

 

So I have an excel file that I am filling in using ActiveX in Labview. I ran into an issue however where I have some "shapes" in the excel file that are being used as check boxes. I need to be able to change the text in them so that they may contain an "X" in certain situations. Is it possible to edit the text of a shape in excel using ActiveX, or do I just need to re-format the excel file so those shapes are actual cells?

 

Here is a picture for reference as to what I am talking about:

excel boxes.PNG

 

0 Kudos
Message 1 of 3
(2,461 Views)
Solution
Accepted by ebohannon

You'll need to click on each shape and name it.

urgent.PNG

Then follow this code to edit the text box:

shape.PNG

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
Message 2 of 3
(2,449 Views)

That worked perfectly! Thank you so much!

0 Kudos
Message 3 of 3
(2,436 Views)