<?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 Yeah, what I said above was… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91195#M41260</link>
    <description>Yeah, what I said above was something I already tried in Word and it works for me. But anyway, you're probably better off with a macro. However, consider putting that same code inside a BP object so that it can be reused rather than in a macro in Word which will only be useful in that one document.</description>
    <pubDate>Tue, 29 Jan 2019 19:08:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2019-01-29T19:08:00Z</dc:date>
    <item>
      <title>Storing a string in word document in bold text and in underline text</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91190#M41255</link>
      <description>Hi all,

Can anyone suggest me how to write a string in bold format in word document and how to underline a specific text in word document.

&amp;nbsp;

Thanks &amp;amp; Regards,

kshitij kumar.

&amp;nbsp;</description>
      <pubDate>Mon, 28 Jan 2019 16:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91190#M41255</guid>
      <dc:creator>kshitijkumar</dc:creator>
      <dc:date>2019-01-28T16:32:00Z</dc:date>
    </item>
    <item>
      <title>I don't ever use it, but it…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91191#M41256</link>
      <description>I don't ever use it, but it looks like you can use the MS Word VBO action 'Replace Highlighted Text' in order to bold text. You basically just replace the text with the same text but give a True value to 'new bold'. I don't see any existing action that will underline text.
Probably the better way to do this is to take the code stage inside of 'Replace Highlighted Text', create your own object/action, add in what inputs you want, etc.
For example, I imagine the code 'r.Bold=new_bold' from the Replace Hightlighted Text code stage can be adapted for underline. Probably need to check the Microsoft docs, but I bet 'r.Underline=True' or maybe 'r.Underline=1' will work. Of course, you'd want to take that True/1 as an input.</description>
      <pubDate>Mon, 28 Jan 2019 19:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91191#M41256</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-01-28T19:03:00Z</dc:date>
    </item>
    <item>
      <title>Hi ,
I have a word document…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91192#M41257</link>
      <description>Hi ,
I have a word document which has some text written into it . i want to change few texts to bold .
i have used 'Replace Highlighted Text' but it is asking for one input 'current highlight'. but don't know what to give. I also tried by giving blank value. but not able to highlight required text in my word.
&amp;nbsp;
Is there any way to highlight few texts while writing the text using&amp;nbsp; 'Type Text'&amp;nbsp;.
&amp;nbsp;
&amp;nbsp;
Thanks,
kshitij</description>
      <pubDate>Mon, 28 Jan 2019 22:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91192#M41257</guid>
      <dc:creator>kshitijkumar</dc:creator>
      <dc:date>2019-01-28T22:36:00Z</dc:date>
    </item>
    <item>
      <title>In this case, the word …</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91193#M41258</link>
      <description>In this case, the word 'highlight' means to highlight the text with background color. If you're going to use that action, you'd put the number that correlates to the highlighted color. For example, I think 7 is yellow. Your text would need to be already highlighted with that color. Then your inputs could set the text to bold and remove the highlighting. Your inputs might look something like this... (the 7 assumes your text is highlighted in yellow and 0 removes the highlighting)
handle: [handle]
document name: [document name]
current text: [text to search for]
current highlight: 7
new text: [text to search for]
new highlight: 0
new bold: True
&amp;nbsp;
Numbers to Highlighting colors:
&lt;A href="https://word.tips.net/T000253_Changing_Character_Color.html" target="test_blank"&gt;https://word.tips.net/T000253_Changing_Character_Color.html&lt;/A&gt;
Some example code:
&lt;A href="https://docs.microsoft.com/en-us/office/vba/word/concepts/customizing-w…" target="test_blank"&gt;https://docs.microsoft.com/en-us/office/vba/word/concepts/customizing-w…&lt;/A&gt;
&amp;nbsp;
You're better off just looking up some code online and copying it. Then you can create your own action that doesn't rely on highlighting. I dunno, maybe that's just a thing. Pretty weird, if you ask me.</description>
      <pubDate>Tue, 29 Jan 2019 08:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91193#M41258</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-01-29T08:20:00Z</dc:date>
    </item>
    <item>
      <title>i check with the activity…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91194#M41259</link>
      <description>i check with the activity but it is not working could you try at your end and let me know.
anyway i am writing macro in word for doing these&amp;nbsp;things.
&amp;nbsp;
&amp;nbsp;
Thanks</description>
      <pubDate>Tue, 29 Jan 2019 12:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91194#M41259</guid>
      <dc:creator>kshitijkumar</dc:creator>
      <dc:date>2019-01-29T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Yeah, what I said above was…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91195#M41260</link>
      <description>Yeah, what I said above was something I already tried in Word and it works for me. But anyway, you're probably better off with a macro. However, consider putting that same code inside a BP object so that it can be reused rather than in a macro in Word which will only be useful in that one document.</description>
      <pubDate>Tue, 29 Jan 2019 19:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Storing-a-string-in-word-document-in-bold-text-and-in-underline/m-p/91195#M41260</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-01-29T19:08:00Z</dc:date>
    </item>
  </channel>
</rss>

