<?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: Executing Excel Macros from SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-macros-from-sap/m-p/4025398#M962029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To execute an Excel macro follow these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create macro inside Excel Workbook where you transferred your information.&lt;/P&gt;&lt;P&gt;2. Use following instruction to execute the desired macro you create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: EXCEL TYPE OLE2_OBJECT.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT EXCEL 'Excel.Application'.&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;    CALL METHOD OF EXCEL 'Run' EXPORTING #1 = 'WRITE_SHEET_CELL'&lt;/P&gt;&lt;P&gt;                                                                        #2 = 'VALUE1'&lt;/P&gt;&lt;P&gt;                                                                        #3 = 'VALUE2'&lt;/P&gt;&lt;P&gt;                                                                        #4 = 'VALUE3'.&lt;/P&gt;&lt;P&gt;In previous example, macro WRITE_SHEET_CELL was created first. The macro name must be in uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rafael Rojas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 18:50:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T18:50:25Z</dc:date>
    <item>
      <title>Executing Excel Macros from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-macros-from-sap/m-p/4025397#M962028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a program which tranfers data from different internal tables into Different Worksheets of a single workbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, Can some one please tell me how to Execute macros from SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 13:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-macros-from-sap/m-p/4025397#M962028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T13:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Excel Macros from SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-macros-from-sap/m-p/4025398#M962029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To execute an Excel macro follow these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create macro inside Excel Workbook where you transferred your information.&lt;/P&gt;&lt;P&gt;2. Use following instruction to execute the desired macro you create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: EXCEL TYPE OLE2_OBJECT.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT EXCEL 'Excel.Application'.&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;    CALL METHOD OF EXCEL 'Run' EXPORTING #1 = 'WRITE_SHEET_CELL'&lt;/P&gt;&lt;P&gt;                                                                        #2 = 'VALUE1'&lt;/P&gt;&lt;P&gt;                                                                        #3 = 'VALUE2'&lt;/P&gt;&lt;P&gt;                                                                        #4 = 'VALUE3'.&lt;/P&gt;&lt;P&gt;In previous example, macro WRITE_SHEET_CELL was created first. The macro name must be in uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rafael Rojas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 18:50:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-excel-macros-from-sap/m-p/4025398#M962029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T18:50:25Z</dc:date>
    </item>
  </channel>
</rss>

