<?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 I_OI_DOCUMENT_PROXY-&amp;gt;EXECUTE_MACRO in excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-oi-document-proxy-gt-execute-macro-in-excel/m-p/1045259#M87705</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;I want to execute a macro to add a chart into excel. I created the macro 'graphic' in excel then I call it from abap with the metod execute macro but it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:  DOCUMENT    TYPE REF TO I_OI_DOCUMENT_PROXY. 

  ... 
  
  CALL METHOD DOCUMENT-&amp;gt;EXECUTE_MACRO 
    EXPORTING 
      MACRO_STRING = 'Modulo1.graphic' 
    IMPORTING 
      ERROR        = ERRORS 
      RETCODE      = retcode 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL METHOD DOCUMENT-&amp;gt;EXECUTE_MACRO 
    EXPORTING 
      MACRO_STRING = 'graphic' 
    IMPORTING 
      ERROR        = ERRORS 
      RETCODE      = retcode 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like you give me instructions for make it work. Do I have to do anything else to make it work?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2005 21:34:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-08T21:34:44Z</dc:date>
    <item>
      <title>I_OI_DOCUMENT_PROXY-&gt;EXECUTE_MACRO in excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-oi-document-proxy-gt-execute-macro-in-excel/m-p/1045259#M87705</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;I want to execute a macro to add a chart into excel. I created the macro 'graphic' in excel then I call it from abap with the metod execute macro but it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:  DOCUMENT    TYPE REF TO I_OI_DOCUMENT_PROXY. 

  ... 
  
  CALL METHOD DOCUMENT-&amp;gt;EXECUTE_MACRO 
    EXPORTING 
      MACRO_STRING = 'Modulo1.graphic' 
    IMPORTING 
      ERROR        = ERRORS 
      RETCODE      = retcode 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL METHOD DOCUMENT-&amp;gt;EXECUTE_MACRO 
    EXPORTING 
      MACRO_STRING = 'graphic' 
    IMPORTING 
      ERROR        = ERRORS 
      RETCODE      = retcode 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like you give me instructions for make it work. Do I have to do anything else to make it work?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 21:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-oi-document-proxy-gt-execute-macro-in-excel/m-p/1045259#M87705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: I_OI_DOCUMENT_PROXY-&gt;EXECUTE_MACRO in excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-oi-document-proxy-gt-execute-macro-in-excel/m-p/1045260#M87706</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;Please refere thie demo (Pie Chart) program GFW_PROG_PIE. This will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need more ifn fo please send me an e-mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Lanka Murthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 05:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-oi-document-proxy-gt-execute-macro-in-excel/m-p/1045260#M87706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T05:10:49Z</dc:date>
    </item>
  </channel>
</rss>

