<?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 Find the Position of text in a Word Document in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Find-the-Position-of-text-in-a-Word-Document/m-p/92500#M42277</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am currently working with Word documents , I have to iterate through a large volume of word documents and check to see if any of them require a signature.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I look for the text "Yours Sincerely" , and then i will add a text box on the line below and this text box will contain the signature.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have successfully added the signature but I am struggling to determine the position of the text box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way of finding the X and Y values of text in a Word document , so that i can add a set value to it and place the text box below the text "Yours Sincerely".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There will only be one Signature per document.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;
&lt;P&gt;Rachael&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Rachael Sherry&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Oct 2023 14:35:00 GMT</pubDate>
    <dc:creator>RSHERRY</dc:creator>
    <dc:date>2023-10-17T14:35:00Z</dc:date>
    <item>
      <title>Find the Position of text in a Word Document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Find-the-Position-of-text-in-a-Word-Document/m-p/92500#M42277</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am currently working with Word documents , I have to iterate through a large volume of word documents and check to see if any of them require a signature.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I look for the text "Yours Sincerely" , and then i will add a text box on the line below and this text box will contain the signature.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have successfully added the signature but I am struggling to determine the position of the text box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way of finding the X and Y values of text in a Word document , so that i can add a set value to it and place the text box below the text "Yours Sincerely".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There will only be one Signature per document.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Many thanks&lt;/P&gt;
&lt;P&gt;Rachael&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Rachael Sherry&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Oct 2023 14:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Find-the-Position-of-text-in-a-Word-Document/m-p/92500#M42277</guid>
      <dc:creator>RSHERRY</dc:creator>
      <dc:date>2023-10-17T14:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Find the Position of text in a Word Document</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Find-the-Position-of-text-in-a-Word-Document/m-p/92501#M42278</link>
      <description>&lt;P&gt;Hi Rachel,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have done in the past in&amp;nbsp; C# using code stage but unfortunatley I dont have that code any more.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;But below threads might help to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/10165833/get-text-position-in-microsoft-word-from-vba-or-c-sharp-interop" target="test_blank"&gt;https://stackoverflow.com/questions/10165833/get-text-position-in-microsoft-word-from-vba-or-c-sharp-interop&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/answers/questions/647674/find-text-position-in-word-document-in-c" target="test_blank"&gt;https://learn.microsoft.com/en-us/answers/questions/647674/find-text-position-in-word-document-in-c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I would suggest to check the current MS word object in digital exchange and&amp;nbsp; check whether&amp;nbsp; using word count or line count&amp;nbsp; you can calculate the coordinates of a text.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/ms-word-vbo" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/ms-word-vbo&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;-----------------------&lt;BR /&gt;If I answered your query. Please  mark it as the "Best Answer"&lt;BR /&gt;&lt;BR /&gt;Harish Mogulluri&lt;BR /&gt;Lead developer&lt;BR /&gt;America/New_York TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2023 14:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Find-the-Position-of-text-in-a-Word-Document/m-p/92501#M42278</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-10-18T14:03:00Z</dc:date>
    </item>
  </channel>
</rss>

