<?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: Disable Calculation in excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81004#M32635</link>
    <description>​&amp;gt; That did the trick, do you have any idea why it work with '-4135 and not using '&lt;SPAN&gt;xlManual'?&lt;BR /&gt;That is because xlManual is not defined. None of the enums are. Using Microsoft.Office.Interop.Excel dll is an option, but adding it just for enums is a bit of an overkill. You can define them in global if you want code to be cleaner.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; "Set calculation mode" where you can actually set it to manual or automatic.&lt;BR /&gt;Not in an older VBO , didn't check newer ones. &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 08 Nov 2019 10:30:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2019-11-08T10:30:00Z</dc:date>
    <item>
      <title>Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/80999#M32630</link>
      <description>HI is there a way to disable calculations in excel&lt;BR /&gt;&lt;BR /&gt;basically the equivalent of '&lt;SPAN class="crayon-v"&gt;Application&lt;/SPAN&gt;&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;&lt;SPAN class="crayon-v"&gt;Calculation&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-v"&gt;xlManual'&lt;BR /&gt;&lt;BR /&gt;please help&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marc Morin&lt;BR /&gt;Consultant&lt;BR /&gt;PWC&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Nov 2019 16:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/80999#M32630</guid>
      <dc:creator>MarcMorin</dc:creator>
      <dc:date>2019-11-05T16:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81000#M32631</link>
      <description>Hi Marc,&amp;nbsp; could you provide more detail on how you are trying to use&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: rgba(0, 0, 0, 0.02); color: #7a7a7a; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;'&lt;/SPAN&gt;&lt;SPAN class="crayon-v" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Application&lt;/SPAN&gt;&lt;SPAN class="crayon-sy" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="crayon-v" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Calculation&lt;/SPAN&gt;&lt;SPAN class="crayon-h" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-o" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="crayon-h" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-v" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;xlManual' in your BP process?&amp;nbsp; Doing some searches it looks like&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: rgba(0, 0, 0, 0.02); color: #7a7a7a; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;'&lt;/SPAN&gt;Application&lt;SPAN class="crayon-sy" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;.&lt;/SPAN&gt;Calculation&lt;SPAN class="crayon-h" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-o" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="crayon-h" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;xlManual' is typically added via a coded excel macro.&amp;nbsp; Perhaps you could create the macro in your target excel and then use the MS Excel VBO action &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #242729; font-family: inherit; font-size: 100%; font-size-adjust: none; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; letter-spacing: normal; line-height: inherit; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;"Run Macro" to execute the macro containing the&amp;nbsp;&lt;SPAN style="background-color: rgba(0, 0, 0, 0.02); box-sizing: border-box; color: #7a7a7a; display: inline; float: none; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;'&lt;/SPAN&gt;Application&lt;SPAN class="crayon-sy" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;.&lt;/SPAN&gt;Calculation&lt;SPAN class="crayon-h" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-o" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="crayon-h" style="box-sizing: border-box; color: #7a7a7a; font-family: &amp;amp;quot; helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; &lt;/SPAN&gt;xlManual' statement.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ed Garabedian&lt;BR /&gt;Sr. Solutions Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Nov 2019 12:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81000#M32631</guid>
      <dc:creator>EdGarabedian1</dc:creator>
      <dc:date>2019-11-07T12:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81001#M32632</link>
      <description>Code would be like this:&amp;nbsp;&lt;BR /&gt;Dim xlInstance = GetInstance(handle)&lt;BR /&gt;xlInstance.&lt;SPAN&gt;Calculation =&amp;nbsp;-4135 'xlManual&lt;BR /&gt;&lt;/SPAN&gt;xlInstance.&lt;SPAN&gt;Calculation = -4105 'xlAutomatic&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81001#M32632</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2019-11-07T14:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81002#M32633</link>
      <description>That did the trick, do you have any idea why it work with '-4135 and not using '&lt;SPAN&gt;xlManual'?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;also it is alot less 'overkill' then my workaround which included adding&amp;nbsp;Microsoft.Office.Interop.Excel dll&lt;BR /&gt;"&lt;BR /&gt;Dim wb As Object&lt;BR /&gt;Dim excel as Object &lt;BR /&gt;&lt;BR /&gt;wb = GetWorkbook(Handle, workbookname)&lt;BR /&gt;excel = wb.Application&lt;BR /&gt;excel.Calculation = -Microsoft.Office.Interop.Excel.XlCalculation.xlCalculationManual&lt;BR /&gt;"&lt;BR /&gt;Again big thanks&lt;BR /&gt;Marc&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marc Morin&lt;BR /&gt;Consultant&lt;BR /&gt;PWC&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Nov 2019 19:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81002#M32633</guid>
      <dc:creator>MarcMorin</dc:creator>
      <dc:date>2019-11-07T19:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81003#M32634</link>
      <description>Hi All,&lt;BR /&gt;There is an action in ms excel vbo.&lt;BR /&gt;"Set calculation mode" where you can actually set it to manual or automatic.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Shekhar Rajput&lt;BR /&gt;Developer&lt;BR /&gt;Genpact India&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Nov 2019 06:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81003#M32634</guid>
      <dc:creator>NeerajShekhar_R</dc:creator>
      <dc:date>2019-11-08T06:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81004#M32635</link>
      <description>​&amp;gt; That did the trick, do you have any idea why it work with '-4135 and not using '&lt;SPAN&gt;xlManual'?&lt;BR /&gt;That is because xlManual is not defined. None of the enums are. Using Microsoft.Office.Interop.Excel dll is an option, but adding it just for enums is a bit of an overkill. You can define them in global if you want code to be cleaner.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; "Set calculation mode" where you can actually set it to manual or automatic.&lt;BR /&gt;Not in an older VBO , didn't check newer ones. &amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Nov 2019 10:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81004#M32635</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2019-11-08T10:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81005#M32636</link>
      <description>Hi Andrey,&lt;BR /&gt;&lt;BR /&gt;It was in new one.&lt;BR /&gt;There are two input one for handle and other for to enable the automatic cal mode.&lt;BR /&gt;&lt;BR /&gt;if not PFB.&lt;BR /&gt;Dim ExcelApp as Object = GetInstance(handle)&lt;BR /&gt;Dim ExcelApp as Object = GetInstance(handle)&lt;BR /&gt;Dim mode as Integer&lt;BR /&gt;If enabled Then mode = -4105 ' xlCalculationAutomatic&lt;BR /&gt;Else mode = -4135 ' xlCalculationManual&lt;BR /&gt;End If&lt;BR /&gt;ExcelApp.Calculation = mode&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Shekhar Rajput&lt;BR /&gt;Developer&lt;BR /&gt;Genpact India&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Nov 2019 11:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81005#M32636</guid>
      <dc:creator>NeerajShekhar_R</dc:creator>
      <dc:date>2019-11-08T11:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Disable Calculation in excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81006#M32637</link>
      <description>​To try and answer your specific question as to why xlCalculationManual needs to be substituted with -4135, the reason is as follows:&lt;BR /&gt;&lt;BR /&gt;The dynamic link library (DLL) that allows the use of the descriptor rather than the value is not available in Blue Prism.&amp;nbsp; If you ever come across anything else of this mature that you need to devise a code stage for, you can open Excel and go into the Visual Basic Editor (Alt+F11 is a handy shortcut for doing this).&amp;nbsp; In the VB editor you can access the Object&amp;nbsp;Browser in the View menu ( or by pressing F2).&lt;BR /&gt;&lt;BR /&gt;In here there is a search functionality where you can enter the specific descriptor you want to look up, e.g. xlCalculationManual, and it will tell you what the numerical value equivalent is.&amp;nbsp; I have&amp;nbsp;written quite a few code stages by looking up in this way previously.&lt;BR /&gt;&lt;BR /&gt;Hope this helps further.&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Paul Humphreys&lt;BR /&gt;Senior Technical Specialist&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Nov 2019 09:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Disable-Calculation-in-excel/m-p/81006#M32637</guid>
      <dc:creator>PaulHumphreys</dc:creator>
      <dc:date>2019-11-11T09:02:00Z</dc:date>
    </item>
  </channel>
</rss>

