<?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: How to use RPA to format Excel doc? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63669#M16571</link>
    <description>Here is an alternative solution if you are able to run Excel macros.&lt;BR /&gt;* Run Excel macro from Blue Prism.&lt;BR /&gt;* Use VBA in the macro to edit the layout.&lt;BR /&gt;&lt;BR /&gt;Split the VBA code into 2 subs&lt;BR /&gt;UpdateExcel&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Macro/sub called from Blue Prism Action with Run Macro from MS Excel VBO&lt;BR /&gt;ChangeExcelLayout&amp;nbsp; - The actual code that changes the layout. Do the layout changes while recording a macro to get some of the VBA code.&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;Sub UpdateExcel
' Called &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; Blue Prism Action with Run Macro &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; MS Excel VBO

   'Turn off error handling to &lt;SPAN class="token keyword"&gt;let&lt;/SPAN&gt; Blue Prism &lt;SPAN class="token keyword"&gt;continue&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;in&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;case&lt;/SPAN&gt; of an error
    On Error Resume Next
    
	ThisWorkbook&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Worksheets&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;cMyWorksheet&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Activate
    Call ChangeExcelLayout
  	
   'resume Error handling
   On Error GoTo &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;
   
End Sub​&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roar Nilsen&lt;BR /&gt;Manager&lt;BR /&gt;Duit AS&lt;BR /&gt;Europe/Oslo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Jul 2019 10:46:00 GMT</pubDate>
    <dc:creator>RoarNilsen</dc:creator>
    <dc:date>2019-07-25T10:46:00Z</dc:date>
    <item>
      <title>How to use RPA to format Excel doc?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63665#M16567</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to use RPA to format an Excel doc - set bottom borders, fill cells with colour, etc. &lt;BR /&gt;&lt;BR /&gt;I cannot use a template for this as different cells will need to have borders set and colours filled each time. &lt;BR /&gt;&lt;BR /&gt;Can anyone advise how to go about this? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2019 07:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63665#M16567</guid>
      <dc:creator>cvmac</dc:creator>
      <dc:date>2019-07-16T07:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to use RPA to format Excel doc?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63666#M16568</link>
      <description>You'll have to edit the Excel VBO to add the mentioned features.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2019 10:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63666#M16568</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2019-07-16T10:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to use RPA to format Excel doc?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63667#M16569</link>
      <description>&lt;P&gt;Yeah I got that far - I am looking for guidance on building the said features into a code stage.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2019 11:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63667#M16569</guid>
      <dc:creator>cvmac</dc:creator>
      <dc:date>2019-07-16T11:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to use RPA to format Excel doc?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63668#M16570</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here's the Extending the MS Excel VBO:&amp;nbsp;https://portal.blueprism.com/documents/standard?title=extending+the+ms+excel&amp;amp;category=All&amp;amp;lang=1382&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tetsuji Junicho&lt;BR /&gt;Manager of RPA Practice Grp.&lt;BR /&gt;Accenture Japan&lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2019 16:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63668#M16570</guid>
      <dc:creator>tjunicho</dc:creator>
      <dc:date>2019-07-16T16:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to use RPA to format Excel doc?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63669#M16571</link>
      <description>Here is an alternative solution if you are able to run Excel macros.&lt;BR /&gt;* Run Excel macro from Blue Prism.&lt;BR /&gt;* Use VBA in the macro to edit the layout.&lt;BR /&gt;&lt;BR /&gt;Split the VBA code into 2 subs&lt;BR /&gt;UpdateExcel&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Macro/sub called from Blue Prism Action with Run Macro from MS Excel VBO&lt;BR /&gt;ChangeExcelLayout&amp;nbsp; - The actual code that changes the layout. Do the layout changes while recording a macro to get some of the VBA code.&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;Sub UpdateExcel
' Called &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; Blue Prism Action with Run Macro &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; MS Excel VBO

   'Turn off error handling to &lt;SPAN class="token keyword"&gt;let&lt;/SPAN&gt; Blue Prism &lt;SPAN class="token keyword"&gt;continue&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;in&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;case&lt;/SPAN&gt; of an error
    On Error Resume Next
    
	ThisWorkbook&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Worksheets&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;cMyWorksheet&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Activate
    Call ChangeExcelLayout
  	
   'resume Error handling
   On Error GoTo &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;
   
End Sub​&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Roar Nilsen&lt;BR /&gt;Manager&lt;BR /&gt;Duit AS&lt;BR /&gt;Europe/Oslo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2019 10:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-use-RPA-to-format-Excel-doc/m-p/63669#M16571</guid>
      <dc:creator>RoarNilsen</dc:creator>
      <dc:date>2019-07-25T10:46:00Z</dc:date>
    </item>
  </channel>
</rss>

