01-14-2015 09:33 PM
Hi,
I need some help. In the attached word document (.docx), all my bookmarks are in the last colomn of this template. When I run my program, things work well but I am not able to remove the "choose an item" that is coming from the pull down menu located at that place.
Please run the program you will understand what I mean.
01-15-2015 10:39 AM
Hello Agyna,
There is a combo box in the word template before and after running the VI. If you delete the combo box in the Word template, then the “Choose an item” text will disappear. The VI only appends the string “pass” it does not select “pass” from the combo box.
01-15-2015 11:49 AM
Yes, exact. I don't want to delete the combo box. I want to keep it there so that when someone click there they can see the choice to make. but as I am using the pass/fail result, I want to remove only that phrase that is not needed and keep the combo box.
01-16-2015 03:31 PM
Hello Agyna,
It appears the Report Generation Toolkit does not offer functions for directly modifying combo boxes. The only option I know of is using an ActiveX control - ActiveX being the framework for controlling Microsoft software remotely. We offer functions for using ActiveX in LabVIEW and provide some examples for programmatically changing ActiveX controls – particularly for Excel. I recommend studying these examples and reviewing Microsoft’s ActiveX documentation.
That being said, learning how to use ActiveX is not trivial and this may be more effort than you are willing to put into the project. However this is one possible solution.