<?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: Issue While saving the Excel file in a different Network Drive, &amp;quot;Could not execute code stage because exception thrown by code stage: Save Workbook took more than 30 secs&amp;quot; in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80815#M32483</link>
    <description>Hi Nik,&lt;BR /&gt;I once had the same problem when I tried to save a workbook with massive formula calculations. I have added another page in the Excel VBO by copying "Trigger Calculation Event", renamed the code stage to "Calculate and Wait" and inserted the following code:&lt;BR /&gt;excel = ws.Application (below ws where we get the worksheet pointer)&lt;BR /&gt;and instead of ws.calculate:&lt;BR /&gt;Do&lt;BR /&gt;&amp;nbsp; &amp;nbsp; excel.Calculate&lt;BR /&gt;Loop While Not (excel.CalculationState = 0)&lt;BR /&gt;&lt;BR /&gt;May be it is an option for you to switch calculation mode to manual anyway. - I have optimized my process further with a replacement of formulas by values after I have the results I need.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Martin Reuter&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 31 Jan 2022 15:21:00 GMT</pubDate>
    <dc:creator>martin_reuter</dc:creator>
    <dc:date>2022-01-31T15:21:00Z</dc:date>
    <item>
      <title>Issue While saving the Excel file in a different Network Drive, "Could not execute code stage because exception thrown by code stage: Save Workbook took more than 30 secs"</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80812#M32480</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I am trying to save the File on Network Drive on One of our Production Robot , we are receiving this error&lt;BR /&gt;"Could not execute code stage because exception thrown by code stage: Save Workbook took more than 30 secs"&lt;BR /&gt;&lt;BR /&gt;But this does not happen when I am Saving the File on another Robot Locally (one of the Robot's Local Drive is access by another via Network Drive)&lt;BR /&gt;&lt;BR /&gt;Can accessing the Files over Network cause this problem ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Nikhil&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nik&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Jan 2022 11:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80812#M32480</guid>
      <dc:creator>nikhiln</dc:creator>
      <dc:date>2022-01-31T11:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue While saving the Excel file in a different Network Drive, "Could not execute code stage because exception thrown by code stage: Save Workbook took more than 30 secs"</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80813#M32481</link>
      <description>Hi Nik!&lt;BR /&gt;&lt;BR /&gt;Here you have two possible options to solve this:&lt;BR /&gt;&lt;BR /&gt;1: Change the timed out for the Close Instance method over the MS Excel VBO.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28348.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28478i7D1225F1A8F73CE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="28348.png" alt="28348.png" /&gt;&lt;/span&gt;&lt;BR /&gt;2. The second option is to save the file locally and the moving with file with the "Utility - File Management" Object and the Action "Move File".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you&lt;BR /&gt;&lt;BR /&gt;Bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Programmer&lt;BR /&gt;Altamira AM&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Jan 2022 12:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80813#M32481</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-01-31T12:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue While saving the Excel file in a different Network Drive, "Could not execute code stage because exception thrown by code stage: Save Workbook took more than 30 secs"</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80814#M32482</link>
      <description>Hi Nik,&lt;BR /&gt;&lt;BR /&gt;I completely agree with Pablo's response but just wanted to add an additional option.&amp;nbsp; I've had this same problem, and my institution doesn't allow us to modify the blue prism object pages directly.&amp;nbsp; I created an additional page in the object that allows me to send in (and therefore overwrite) the timeout value for the page.&amp;nbsp; No code changes are needed. Just create a copy of the page, set an input parameter for the timeout value, then rename the code in the code stage on the page. You can't have 2 code stages with the same name in the same object or you'll get a compiler error at object load.&amp;nbsp; This option allows you to only increase the timeout value for the pages where you need it, rather than changing it for all your processes that use the save function in excel.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Diane Sanzone&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Jan 2022 14:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80814#M32482</guid>
      <dc:creator>diane.sanzone</dc:creator>
      <dc:date>2022-01-31T14:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue While saving the Excel file in a different Network Drive, "Could not execute code stage because exception thrown by code stage: Save Workbook took more than 30 secs"</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80815#M32483</link>
      <description>Hi Nik,&lt;BR /&gt;I once had the same problem when I tried to save a workbook with massive formula calculations. I have added another page in the Excel VBO by copying "Trigger Calculation Event", renamed the code stage to "Calculate and Wait" and inserted the following code:&lt;BR /&gt;excel = ws.Application (below ws where we get the worksheet pointer)&lt;BR /&gt;and instead of ws.calculate:&lt;BR /&gt;Do&lt;BR /&gt;&amp;nbsp; &amp;nbsp; excel.Calculate&lt;BR /&gt;Loop While Not (excel.CalculationState = 0)&lt;BR /&gt;&lt;BR /&gt;May be it is an option for you to switch calculation mode to manual anyway. - I have optimized my process further with a replacement of formulas by values after I have the results I need.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Martin Reuter&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Jan 2022 15:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-While-saving-the-Excel-file-in-a-different-Network-Drive/m-p/80815#M32483</guid>
      <dc:creator>martin_reuter</dc:creator>
      <dc:date>2022-01-31T15:21:00Z</dc:date>
    </item>
  </channel>
</rss>

