<?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: Working with Excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83431#M34709</link>
    <description>&lt;DIV class="uconBody"&gt;&lt;DIV style="page: WordSection1"&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;That's great, thanks Michael, mush appreciated&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Gavin&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 27 Nov 2022 18:16:00 GMT</pubDate>
    <dc:creator>GAVIN.RUDLING</dc:creator>
    <dc:date>2022-11-27T18:16:00Z</dc:date>
    <item>
      <title>Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83425#M34703</link>
      <description>Hi Team, Trust you are all well and looking forward to the festive season ahead.&lt;BR /&gt;&lt;BR /&gt;I have a slight issue when working with an excel macro file and I am sure it is not a Blue Prism issue at all.&lt;BR /&gt;I am hoping someone may have a hint on the problem.&lt;BR /&gt;&lt;BR /&gt;A client has provided an excel macro file, basically just to refresh some data tables and pivot tables linked to their SQL database.&amp;nbsp;&lt;BR /&gt;When the client connects to the folder via a Forticlient VPN connection and executes the file, it runs in under 5 - 10 seconds.&lt;BR /&gt;However, If I connect via the same VPN and execute the same macro file, it takes between 10 and 15 minutes if lucky and I get quite a few connection timeout errors in the VBA code itself. There are occasions where the run is successful but still very slow.&lt;BR /&gt;I have tried the this from The BPC platform and from my local machine with the exact same results.&lt;BR /&gt;I am not sure if it is to do with the location where the excel macro file is being hosted.&lt;BR /&gt;Anybody have any ideas?&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Gavin&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gavin Rudling&lt;BR /&gt;Digital Consultant &amp;amp; Developer&lt;BR /&gt;Cog3nt&lt;BR /&gt;Africa/Johannesburg&lt;BR /&gt;0813906789&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 09:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83425#M34703</guid>
      <dc:creator>GAVIN.RUDLING</dc:creator>
      <dc:date>2022-11-25T09:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83426#M34704</link>
      <description>Hi Gavin,&lt;BR /&gt;&lt;BR /&gt;In short: XLs with active macros are a pain in the behind! I try to avoid them best I can, but sometimes you got to live with them - I do so reluctantly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;While I do not have the problem you describe, I would recommend to have a look in community 'Blue Prism Product' instead of the one you posted in. I recall there's quite a few macro related questions there that possibly provide the answer to your question.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 10:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83426#M34704</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2022-11-25T10:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83427#M34705</link>
      <description>&lt;DIV class="uconBody"&gt;&lt;DIV style="page: WordSection1"&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Hi Paul, Thanks for the advice and direction, will do that.&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Gavin&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 11:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83427#M34705</guid>
      <dc:creator>GAVIN.RUDLING</dc:creator>
      <dc:date>2022-11-25T11:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83428#M34706</link>
      <description>Hi @Gavin&amp;nbsp;Rudling&lt;BR /&gt;&lt;BR /&gt;I would say avoid using the macros within the file, the best thing would be to simply replicate the actions the macros are doing in your process. If its just a refresh of pivot tables then thats a simple enough action for the bot to handle using a code stage. With macros your basically automating something thats already automated and i normally try to avoid that scenario.&lt;BR /&gt;&lt;BR /&gt;I did have a client ask for this before and they essentially wanted to automat excel front end just so it could click the macro buttons and then the pop up windows. I did a poc to demo the bot doing all the same actions as the macros which was faster but they insisted so in the end we compromised and let the bot use the file but initiate the macros using the MS Excel vbo &amp;gt; Run macro action. But it did require me to walk through their vba with them to advise where to disable message boxes so it didnt cause a failure in the bot. &lt;BR /&gt;&lt;BR /&gt;So simply put blue prism and macros are not the best of friends :P​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 11:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83428#M34706</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2022-11-25T11:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83429#M34707</link>
      <description>&lt;DIV class="uconBody"&gt;&lt;DIV style="page: WordSection1"&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Thanks Michael, I agree.&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;The main issue is the process is working fine and it executes the macro. However it just seems to take for ever on running  it from the BPC environment and or my local machine where if the client executes the same macro via the same VPN connection it runs in under 10 seconds.&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;So I am looking for an understanding as to why the difference.&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;I get the same result triggering the macro without Blue Prism. So I suspect infrastructure or something like that that can  cause the time difference. &lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;You mentioned a code stage to refresh pivots or Data tables, do you perhaps have an example of the code stage that I could  add to the Excel VBO?&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;I am fine with the VBA code but the implementing the code in the code stages, I am out of practice&amp;nbsp; and need some time spend  there.&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Gavin &lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 12:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83429#M34707</guid>
      <dc:creator>GAVIN.RUDLING</dc:creator>
      <dc:date>2022-11-25T12:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83430#M34708</link>
      <description>Hi Gavin&lt;BR /&gt;&lt;BR /&gt;No problem I think the below code should do what you need. If you need to change the data source of the pivot then there is an action already for this in the latest version of the excel vbo from blue prism. Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Dim ws as Object = GetWorksheet(handle,workbookname,worksheetname)&lt;BR /&gt;&lt;BR /&gt;ws.Activate()&lt;BR /&gt;&lt;BR /&gt;ws.PivotTables(Pivot_Name).PivotCache.Refresh&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 15:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83430#M34708</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2022-11-25T15:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Working with Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83431#M34709</link>
      <description>&lt;DIV class="uconBody"&gt;&lt;DIV style="page: WordSection1"&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;That's great, thanks Michael, mush appreciated&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;Gavin&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="margin: 0cm;font-size: 11.0pt;font-family: &amp;quot;Calibri&amp;quot;,sans-serif;color: #333333"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Calibri Light&amp;quot;,sans-serif;color:windowtext"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Nov 2022 18:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Working-with-Excel/m-p/83431#M34709</guid>
      <dc:creator>GAVIN.RUDLING</dc:creator>
      <dc:date>2022-11-27T18:16:00Z</dc:date>
    </item>
  </channel>
</rss>

