<?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 Excel VBO escape character when passing a formula in Value in Deutschsprachige Community</title>
    <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45639#M364</link>
    <description>&lt;P&gt;Whats the correct way to send a string with a semicolon ( &lt;STRONG&gt;;&lt;/STRONG&gt; )&amp;nbsp; as a Value in the e.g. Set Cell Value&lt;/P&gt;
&lt;P&gt;I already tried some variations in the string but so far none of it worked.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5397.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/5580iFE0717D74CCA6E5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="5397.png" alt="5397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I try to send the following formula as Value:&lt;/P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;"=Teilergebnis(9;L2:L" &amp;amp; [Number of rows]-1+[Number of rows2]-4 &amp;amp; ")"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and get the following blueprism error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5398.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/5579iC4D1E750CF68E5BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5398.png" alt="5398.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It works when I use a more simple formula without a semicolon like&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;"=SUMME(L2:L" &amp;amp; [Number of rows]-1+[Number of rows2]-4 &amp;amp; ")"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;So I'm pretty sure that I just somehow need to "escape" that semicolon.&lt;/P&gt;
&lt;P&gt;Since the string is passed into the excel vbo code stage I guess that it is causing problems there.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marco Matuttis&lt;BR /&gt;Robot Process Automation Developer&lt;BR /&gt;INTER Krankenversicherung AG&lt;BR /&gt;Mannheim&lt;BR /&gt;------------------------------&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 13:57:00 GMT</pubDate>
    <dc:creator>MarcoMatuttis1</dc:creator>
    <dc:date>2022-04-12T13:57:00Z</dc:date>
    <item>
      <title>Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45639#M364</link>
      <description>&lt;P&gt;Whats the correct way to send a string with a semicolon ( &lt;STRONG&gt;;&lt;/STRONG&gt; )&amp;nbsp; as a Value in the e.g. Set Cell Value&lt;/P&gt;
&lt;P&gt;I already tried some variations in the string but so far none of it worked.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5397.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/5580iFE0717D74CCA6E5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="5397.png" alt="5397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I try to send the following formula as Value:&lt;/P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;"=Teilergebnis(9;L2:L" &amp;amp; [Number of rows]-1+[Number of rows2]-4 &amp;amp; ")"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and get the following blueprism error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5398.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/5579iC4D1E750CF68E5BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5398.png" alt="5398.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It works when I use a more simple formula without a semicolon like&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;"=SUMME(L2:L" &amp;amp; [Number of rows]-1+[Number of rows2]-4 &amp;amp; ")"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;So I'm pretty sure that I just somehow need to "escape" that semicolon.&lt;/P&gt;
&lt;P&gt;Since the string is passed into the excel vbo code stage I guess that it is causing problems there.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marco Matuttis&lt;BR /&gt;Robot Process Automation Developer&lt;BR /&gt;INTER Krankenversicherung AG&lt;BR /&gt;Mannheim&lt;BR /&gt;------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45639#M364</guid>
      <dc:creator>MarcoMatuttis1</dc:creator>
      <dc:date>2022-04-12T13:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45640#M365</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/33307"&gt;@MarcoMatuttis1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I take it this is a German localized version of Windows and that's why you need to use the semicolon? Is your Blue Prism instance also localized for German? Control of whether a comma, semicolon, or whatever is used as a parameter separator happens at the O/S level based on its Regional Settings.&lt;BR /&gt;&lt;BR /&gt;Cheers,​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Apr 2022 17:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45640#M365</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-04-13T17:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45641#M366</link>
      <description>I just took a look at the code behind that Code stage and it seems a bit odd to me. I'll run a few tests in a little bit and get back to you as I think that may need to change. The code that is.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Apr 2022 17:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45641#M366</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-04-13T17:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45642#M367</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/33307"&gt;@MarcoMatuttis1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;FWIW - There's a v6.10.5 of the Excel VBO available on the DX. It includes a new action called &lt;STRONG&gt;Set Value of Cells in Range&lt;/STRONG&gt;. This action allows you to set the value of 1 or more cells using a Range. It's a bit cleaner than the Set Cell Value action in my opinion. You might give that action a try and see if you experience the same error.&lt;BR /&gt;&lt;BR /&gt;Hint: If you just want to set the value of a single cell (ex. A13), set the value of the range input to "A13".&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Apr 2022 00:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45642#M367</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-04-14T00:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45643#M368</link>
      <description>&lt;P&gt;I just downloaded the new Version and tried the &lt;STRONG&gt;Set Value of Cells in Range &lt;/STRONG&gt;Function but unfortunately it did not work.&lt;/P&gt;
&lt;P&gt;I'm not sure why this should be a german localization problem. I mean all I'm doing is basically passing a string through the codestage.&lt;/P&gt;
&lt;P&gt;Unfortunately that string contains a semicolon which does seem to break the Excel VBO Visual Basic syntax rules.&lt;/P&gt;
&lt;P&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;GetInstance(handle).ActiveCell.Value = value
Dim activeCell = GetInstance(handle).ActiveCell
SetProperty(activeCell, "Value", value)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marco Matuttis&lt;BR /&gt;Robot Process Automation Developer&lt;BR /&gt;INTER Krankenversicherung AG&lt;BR /&gt;Mannheim&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 11:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45643#M368</guid>
      <dc:creator>MarcoMatuttis1</dc:creator>
      <dc:date>2022-04-19T11:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45644#M369</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/33307"&gt;@MarcoMatuttis1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Heres another format for the formula that you can try:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vb"&gt;&lt;CODE&gt;"=Teilergebnis(9" &amp;amp; Chr(59) &amp;amp; "L2:L" &amp;amp; (([Number of rows] - 1) + ([Number of rows2] - 4)) &amp;amp; ")"​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Instead of placing the actual semicolon in the string I'm using the Chr() function to interpret it at runtime. I've also made your arithmetic a little more readable with parentheses.&lt;BR /&gt;&lt;BR /&gt;The reason I mentioned localization is because at &amp;nbsp;its heart, Excel is based on English localization which means commas are used to separate values, formatting of numbers, etc. &amp;nbsp;If there's a difference in the localization setting of the O/S, Office, and/or Blue Prism, it can introduce strange errors when interpreting cell values and formulas.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="-webkit-text-size-adjust: 100%;"&gt;&lt;BR /&gt;Further, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-size-adjust: 100%;"&gt;The error code 0x800A03EC means NAME_NOT_FOUND; in other words, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-size-adjust: 100%;"&gt;you've asked for something that Excel can't find. This could be the function name, if it were a custom function, or a range of cells if the range specified isn't formatted correctly, etc. This error is being raised by Excel itself, not the VBO. It's just being returned via the VBO because Excel doesn't like what you're trying to have the VBO do.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2022 11:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45644#M369</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-04-19T11:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45645#M370</link>
      <description>&lt;P&gt;I will try that with the original function. But I just found a working solution.&lt;/P&gt;
&lt;P&gt;It's kinda braindead solution but it works.&lt;/P&gt;
&lt;P&gt;I just hardcoded the most part of the string into the visual basic code stage. And it looks like this now:&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;GetInstance(handle).ActiveCell.Value = value
Dim activeCell = GetInstance(handle).ActiveCell
SetProperty(activeCell, "Value", "=Teilergebnis(9;" &amp;amp; value &amp;amp; ")")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I only pass the range as value&lt;/P&gt;
&lt;PRE class="language-vb" tabindex="0"&gt;&lt;CODE&gt;L2:L" &amp;amp; (([Number of rows] - 1) + ([Number of rows2] - 4))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;not the most elegant solution but it works.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marco Matuttis&lt;BR /&gt;Robot Process Automation Developer&lt;BR /&gt;INTER Krankenversicherung AG&lt;BR /&gt;Mannheim&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2022 12:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45645#M370</guid>
      <dc:creator>MarcoMatuttis1</dc:creator>
      <dc:date>2022-04-19T12:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Excel VBO escape character when passing a formula in Value</title>
      <link>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45646#M371</link>
      <description>I just tried the
&lt;PRE class="language-vb" tabindex="0"&gt;&lt;CODE&gt;Chr(59)​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;solution but it did not work. When I evaluate the expression the string is exactly the same as when I enter it directly.&lt;/P&gt;
&lt;P&gt;I think I would need a solution for that semicolon character that will not be processed on the blueprism level but on the visual basic codestage level.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;But since I have a working solution now it does not matter anymore.&lt;/P&gt;
&lt;P&gt;But thanks for your support.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marco Matuttis&lt;BR /&gt;Robot Process Automation Developer&lt;BR /&gt;INTER Krankenversicherung AG&lt;BR /&gt;Mannheim&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2022 06:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Deutschsprachige-Community/Excel-VBO-escape-character-when-passing-a-formula-in-Value/m-p/45646#M371</guid>
      <dc:creator>MarcoMatuttis1</dc:creator>
      <dc:date>2022-04-20T06:39:00Z</dc:date>
    </item>
  </channel>
</rss>

