<?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 - ExportPDF - How to set password during export in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58944#M12689</link>
    <description>Hey Manish,&lt;BR /&gt;&lt;BR /&gt;Are you using the Word VBO to export to PDF? If so, I am afraid there is no way to password protect the PDF. Office's Object Model does not support encrypting PDF on export that can be called leveraged in the VBO, as can be seen at &lt;A href="https://docs.microsoft.com/en-us/office/vba/api/word.document.exportasfixedformat" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/office/vba/api/word.document.exportasfixedformat&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Since yours is a specific use case, I'll suggest spying all necessary elements of the Word application and then using them as part of your automation to specify Encrypt options and the password.&lt;BR /&gt;The process is &lt;EM&gt;&lt;STRONG&gt;File &amp;gt; Save As &amp;gt; More Options... &amp;gt; Save as type: PDF (*.pdf) &amp;gt; Options... &amp;gt; Encrypt the document with a password &amp;gt; OK &amp;gt; Enter password &amp;gt; Re-enter password &amp;gt; OK &amp;gt; Save&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;I tried spying the elements and was successfully able to do so using UI Automation and Accessibility modes. I will suggest Accessibility mode as I found it to work better.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Madhur Chopra&lt;BR /&gt;Sr. Product Consultant&lt;BR /&gt;Blue Prism - Professional Services&lt;BR /&gt;America/Los_Angeles&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 29 Aug 2020 02:47:00 GMT</pubDate>
    <dc:creator>MadhurChopra</dc:creator>
    <dc:date>2020-08-29T02:47:00Z</dc:date>
    <item>
      <title>MS Word VBO - ExportPDF - How to set password during export</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58942#M12687</link>
      <description>Hi,&amp;nbsp;

While exporting doc to pdf, i need to password protect pdf.

Any help is well appreciated.

Thanks.</description>
      <pubDate>Sat, 27 Oct 2018 16:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58942#M12687</guid>
      <dc:creator>ManishKumar3</dc:creator>
      <dc:date>2018-10-27T16:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Word VBO - ExportPDF - How to set password during export</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58943#M12688</link>
      <description>Hi Manish,&lt;BR /&gt;&lt;BR /&gt;You can use Utility - PDF to set password on pdf.&lt;BR /&gt;&lt;BR /&gt;Here is the link to the Utility.&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/58413/solution/utility---pdf" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/58413/solution/utility---pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;In Joe Khor&lt;BR /&gt;Sr. Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2020 22:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58943#M12688</guid>
      <dc:creator>InJoeKhor</dc:creator>
      <dc:date>2020-08-13T22:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Word VBO - ExportPDF - How to set password during export</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58944#M12689</link>
      <description>Hey Manish,&lt;BR /&gt;&lt;BR /&gt;Are you using the Word VBO to export to PDF? If so, I am afraid there is no way to password protect the PDF. Office's Object Model does not support encrypting PDF on export that can be called leveraged in the VBO, as can be seen at &lt;A href="https://docs.microsoft.com/en-us/office/vba/api/word.document.exportasfixedformat" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/office/vba/api/word.document.exportasfixedformat&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Since yours is a specific use case, I'll suggest spying all necessary elements of the Word application and then using them as part of your automation to specify Encrypt options and the password.&lt;BR /&gt;The process is &lt;EM&gt;&lt;STRONG&gt;File &amp;gt; Save As &amp;gt; More Options... &amp;gt; Save as type: PDF (*.pdf) &amp;gt; Options... &amp;gt; Encrypt the document with a password &amp;gt; OK &amp;gt; Enter password &amp;gt; Re-enter password &amp;gt; OK &amp;gt; Save&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;I tried spying the elements and was successfully able to do so using UI Automation and Accessibility modes. I will suggest Accessibility mode as I found it to work better.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Madhur Chopra&lt;BR /&gt;Sr. Product Consultant&lt;BR /&gt;Blue Prism - Professional Services&lt;BR /&gt;America/Los_Angeles&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Aug 2020 02:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Word-VBO-ExportPDF-How-to-set-password-during-export/m-p/58944#M12689</guid>
      <dc:creator>MadhurChopra</dc:creator>
      <dc:date>2020-08-29T02:47:00Z</dc:date>
    </item>
  </channel>
</rss>

