<?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: Formula in OLE2 Objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278371#M1633560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you use ole already. why don't you calculate in code and write to excel manually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 08:50:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-26T08:50:08Z</dc:date>
    <item>
      <title>Formula in OLE2 Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278370#M1633559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how I can define a formula in ole2 objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had done the next steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1º) I define the next formula A1-SUMA(B1:E1)&lt;/P&gt;&lt;P&gt;2º) Add the formula to the object, in this case I used two options&lt;/P&gt;&lt;P&gt;    a)   SET PROPERTY OF g_cell 'Formula' = form.&lt;/P&gt;&lt;P&gt;    b)   SET PROPERTY OF g_cell 'Value' = form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in both cases, when I open the excel document this formula give me an error #¿NAME?.&lt;/P&gt;&lt;P&gt;What is the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 08:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278370#M1633559</guid>
      <dc:creator>lydia_martinezmartinez</dc:creator>
      <dc:date>2011-09-26T08:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Formula in OLE2 Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278371#M1633560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you use ole already. why don't you calculate in code and write to excel manually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 08:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278371#M1633560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T08:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Formula in OLE2 Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278372#M1633561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tolga, but I have to use OLE because the excel could be modify by the users and it has to recalculate the result.&lt;/P&gt;&lt;P&gt;I resolved my proble, I use the key word SUM instead of SUMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 09:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278372#M1633561</guid>
      <dc:creator>lydia_martinezmartinez</dc:creator>
      <dc:date>2011-09-26T09:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Formula in OLE2 Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278373#M1633562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the property FORMULA only, and add an '=' sign in front of the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;added: didn't see you've solved it &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manu D'Haeyer on Sep 26, 2011 11:15 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 09:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formula-in-ole2-objects/m-p/8278373#M1633562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T09:15:01Z</dc:date>
    </item>
  </channel>
</rss>

