<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: MS Word VBO - Mail Merge with IF Statement in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-Mail-Merge-with-IF-Statement/m-p/60268#M13769</link>
    <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/18625"&gt;@Yihang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You're seeing "True" inserted because the Merge Mail action only supports writing text at the moment. You might be able to add some extra code to the Code stage to perform a &lt;A href="https://learn.microsoft.com/en-us/office/vba/api/word.selection.insertsymbol" target="_blank" rel="noopener"&gt;InsertSymbol&lt;/A&gt; call on the selection. I haven't tested it, so I can't say if it will actually work. You would also need to include something in the input data to identify that the field needed to be handled as a checkbox as opposed to text.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 22 May 2023 15:43:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2023-05-22T15:43:00Z</dc:date>
    <item>
      <title>MS Word VBO - Mail Merge with IF Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-Mail-Merge-with-IF-Statement/m-p/60267#M13768</link>
      <description>&lt;P&gt;Hi guys,&lt;BR /&gt;&lt;BR /&gt;I am not sure if this question has been asked before - but I am trying to use the MS Word VBO: Mail Merge action to input data into a word document template with defined fields. The action works well until I try to deal with a check box. Here is the document template looks like:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26586.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26719iE589B2942D976EF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="26586.png" alt="26586.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The first two merge fields (Name &amp;amp; Address) could be successfully entered using the VBO, but I can't use the VBO to modify the checkbox for "Status". I tried to manually change the «Checkbox - Single» in word into "True" or "False", and the checkbox symbol could be correctly displayed, but if I use the VBO, the output will look like this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26587.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26717i9BB93FD9175B08F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="26587.png" alt="26587.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Basically the VBO is adding a text "True" in front of the "IF" merge field and the symbol will always be unchecked. Any chance someone has a solution to check the checkbox using the MS Word VBO?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Yihang&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Yihang Tong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 May 2023 15:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-Mail-Merge-with-IF-Statement/m-p/60267#M13768</guid>
      <dc:creator>Yihang</dc:creator>
      <dc:date>2023-05-18T15:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Word VBO - Mail Merge with IF Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-Mail-Merge-with-IF-Statement/m-p/60268#M13769</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/18625"&gt;@Yihang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You're seeing "True" inserted because the Merge Mail action only supports writing text at the moment. You might be able to add some extra code to the Code stage to perform a &lt;A href="https://learn.microsoft.com/en-us/office/vba/api/word.selection.insertsymbol" target="_blank" rel="noopener"&gt;InsertSymbol&lt;/A&gt; call on the selection. I haven't tested it, so I can't say if it will actually work. You would also need to include something in the input data to identify that the field needed to be handled as a checkbox as opposed to text.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 22 May 2023 15:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-Mail-Merge-with-IF-Statement/m-p/60268#M13769</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-05-22T15:43:00Z</dc:date>
    </item>
  </channel>
</rss>

