10-19-2016 04:53 AM - edited 10-19-2016 05:14 AM
I am trying to insert a tick mark or a corss mark into the word doc by reading the bookmark. To input any value, I was using a string control. But,I was unable to input these symbols. I tried doing by inserting an image, but it is inserting the image but not replacing the bookmark. Please help me with this!!
Solved! Go to Solution.
10-19-2016 08:58 AM
@bineesh142 wrote:I am trying to insert a tick mark or a corss mark into the word doc by reading the bookmark. To input any value, I was using a string control. But,I was unable to input these symbols. I tried doing by inserting an image, but it is inserting the image but not replacing the bookmark. Please help me with this!!
Maybe these symbols are not included in the character set used by Word. Do you get something else or nothing, is there an error message?
Ben64
10-19-2016 09:03 AM
Is that the paragraph symbol that you want to insert? If so, this should work for you.
10-19-2016 09:31 AM
@ben64 wrote:Maybe these symbols are not included in the character set used by Word. Do you get something else or nothing, is there an error message?
Ben64
Here is an example of what I said:
To insert the checkmark I need to set the report font to Wingdings (change back the font to default after). If I don't do this the ü character will be written (character 0252 of the default font).
Ben64
10-19-2016 10:10 PM
I want to pass a tick mark & a cross mark.
10-19-2016 10:11 PM
There is no error msg. It is writing into word but I open the doc its just a small box which displays.
10-20-2016 09:54 AM
I'm not sure what a tick mark and a cross mark are specifically. But you can change the font on the InsertSymbol method and use the character number for selection. This is much easier than changing the font, pasting a character into a string, and then changing the font back to default. 253 and 254 from Wingdings is
07-16-2020 07:00 AM
Sir, Can you attach this as a vi, I cannot find items in labview as I dont know the labels.
07-16-2020 07:09 AM
But in the word report generated I still get symbol like "u" with two dots on top, and not check marks. Please help me in getting check marks in word report.
07-16-2020 09:12 AM
The picture I posted is a snippet. The LabVIEW code is embedded in the PNG file. Drag the picture to your desktop and then drag it onto a block diagram and the code will be added.