<?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: Error internal save workbook as in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73885#M26490</link>
    <description>I got the same error, the reason for me was that the directory in which i wanted to store the file didn't exist. So I had to create the directory first&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruno Arias&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 18 Mar 2022 11:30:00 GMT</pubDate>
    <dc:creator>BrunoArias</dc:creator>
    <dc:date>2022-03-18T11:30:00Z</dc:date>
    <item>
      <title>Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73873#M26478</link>
      <description>Hi all,&amp;nbsp;&lt;BR /&gt;I've the following error when i try to launch bot from control room&lt;BR /&gt;&lt;SPAN&gt;ERROR: Internal : Could not execute code stage because exception thrown by code stage: SaveAs method of Workbook class failed&lt;BR /&gt;&lt;/SPAN&gt;If i run it from debugger no error appear.&amp;nbsp;&lt;BR /&gt;The path is composed by environmentVar &amp;amp;datetime&amp;amp;".xlsx"&lt;BR /&gt;Why this occur?&amp;nbsp;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Jan 2021 22:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73873#M26478</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-27T22:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73874#M26479</link>
      <description>Hello Vrat Himbo,&lt;BR /&gt;&lt;BR /&gt;If you have not already tried,&amp;nbsp; suggest testing the process with hardcoded path and file name just to rule out that file path and name aren't the cause of this error.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 05:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73874#M26479</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2021-01-28T05:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73875#M26480</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/976"&gt;@KrishnaA&lt;/a&gt;,&lt;BR /&gt;thanks for reply, i've just tried with hardcoded file path and still the same. &lt;BR /&gt;The destination folder exist, the file path is as follows:&lt;BR /&gt;EnvironmentVarPath&amp;amp;Datetime&amp;amp;"Report "&amp;amp;FormatDateTime(Now() + MakeTimeSpan(0,1,0,0) ,"dd-MM-yy hh-mm-ss" )"&amp;amp;".xlsx"&lt;BR /&gt;What is the possible issue?&lt;BR /&gt;Another question: why if i debug a project in case of exception it stop the execution instead if i run from control room keep going?&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73875#M26480</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-28T09:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73876#M26481</link>
      <description>Hi Vrat Himbo,&lt;BR /&gt;&lt;BR /&gt;With regards to your second query, it is the expected behavior.&amp;nbsp; Remember executing from the Control Room is an unattended execution.&amp;nbsp; When executed from the Control Room, the process marks a particular work item as an exception if an error occurs and moves to the next record.&amp;nbsp; &amp;nbsp;This is by design.&lt;BR /&gt;&lt;BR /&gt;Is the expression getting evaluated properly?&amp;nbsp; There is an option to test the value of the expression in the expression builder window.&amp;nbsp; &amp;nbsp;Test and see if the value you are getting is a valid file path and name in Windows.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73876#M26481</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2021-01-28T09:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73877#M26482</link>
      <description>&lt;SPAN&gt;yes &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/976"&gt;@KrishnaA&lt;/a&gt;, the expression is valid and if i run from debugger it generate the report in the correct folder.&lt;BR /&gt;&lt;/SPAN&gt;I've tried to save to desktop folder and not in shared folder, via control room appear error "Microsoft excel cannot access the file" and i put for testing the hardcoded path&amp;amp;test.xlsx, the same, if i try via debugger no error appear and generate the file correctly&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73877#M26482</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-28T09:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73878#M26483</link>
      <description>This is the error shown:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18000.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18152i656598D634F6A29A/image-size/large?v=v2&amp;amp;px=999" role="button" title="18000.png" alt="18000.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 11:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73878#M26483</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-28T11:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73879#M26484</link>
      <description>Hello Vrat,&lt;BR /&gt;&lt;BR /&gt;When you are running from Control Room, which resource you are selecting for the process to run?&amp;nbsp; Is it same as development machine or is it a different resource/system?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 11:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73879#M26484</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2021-01-28T11:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73880#M26485</link>
      <description>Same machine as development, i can't understand why this error occur under no circumstances&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 11:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73880#M26485</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-28T11:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73881#M26486</link>
      <description>Up pls&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 13:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73881#M26486</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-28T13:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73882#M26487</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/976"&gt;@KrishnaA&lt;/a&gt;,&lt;BR /&gt;after a lot of attempts I can't even see the file in the network folder, it return false from control room, true from debugger.&lt;BR /&gt;I also tried to do shows excel file but in the machine it opens nothing (from control room, from debugger is ok).&lt;BR /&gt;The resource name on control room is the same as the vdi, what could be the problem?&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vrat Himbo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73882#M26487</guid>
      <dc:creator>VratHimbo</dc:creator>
      <dc:date>2021-01-28T15:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73883#M26488</link>
      <description>Hi Vrat,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As the error is in the "Save As" action, it could be due to access/file path/naming issues.&amp;nbsp; It requires a detailed investigation.&amp;nbsp; &amp;nbsp;Which Excel VBO are you using?&amp;nbsp; If you are from the customer end, suggest creating a support ticket to investigate the issue in detail.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jan 2021 04:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73883#M26488</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2021-01-29T04:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73884#M26489</link>
      <description>&lt;P&gt;Hi Krishna,&lt;/P&gt;
&lt;P&gt;I have the same problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to save an excel file to csv.&lt;BR /&gt;&amp;nbsp;have created a custom code by making changes to existing save workbook As VBO&lt;BR /&gt;below is the line&amp;nbsp; added in my new code :&lt;BR /&gt;wb.SaveAs(filename,6)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this method works perfectly fine on debug mode,when tried to run the code in full speed mode /or via control room.&lt;/P&gt;
&lt;P&gt;I get an error stating :&lt;/P&gt;
&lt;P&gt;Internal : Could not execute code stage because exception thrown by code stage: SaveAs method of Workbook class failed .&lt;/P&gt;
&lt;P&gt;I even tried to increase the timeout in the code to 90 seconds and still no luck.&lt;/P&gt;
&lt;P&gt;Please let me know what is missing .&lt;/P&gt;
&lt;P&gt;Attached are the details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excel Version 2016&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Sanjay&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;sanjay selvaraj&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2021 13:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73884#M26489</guid>
      <dc:creator>sanjayselvaraj1</dc:creator>
      <dc:date>2021-08-26T13:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error internal save workbook as</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73885#M26490</link>
      <description>I got the same error, the reason for me was that the directory in which i wanted to store the file didn't exist. So I had to create the directory first&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruno Arias&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2022 11:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-internal-save-workbook-as/m-p/73885#M26490</guid>
      <dc:creator>BrunoArias</dc:creator>
      <dc:date>2022-03-18T11:30:00Z</dc:date>
    </item>
  </channel>
</rss>

