<?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: Create Macros in Excel using Abap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324800#M1835855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anup for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreejith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Oct 2015 11:16:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-10-05T11:16:55Z</dc:date>
    <item>
      <title>Create Macros in Excel using Abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324796#M1835851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a requirement where I have to download the alv output to excel sheet (Simple table with multiple rows), However after I download the file I have to run the macro. Macro is not readily available. I have to create it from my abap program placing the scripts within the macro in my abap program. I searched various links and most of them provide information about running an existing macro. But in my case I need to create it in abap and then run it in downloaded excel file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am inserting a snapshot of my code of how I am filling the table entries. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/470308" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/470306" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/470307" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I have tried add_script from_table method but to no avail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2014 23:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324796#M1835851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-08T23:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macros in Excel using Abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324797#M1835852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to solve your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, how did you do it? I have a similar requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreejith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 11:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324797#M1835852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-01T11:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macros in Excel using Abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324798#M1835853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I don't have this &lt;SPAN style="color: #333333; font-size: 12px;"&gt;requirement but I am curious to know more about it, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 01:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324798#M1835853</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2015-10-02T01:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macros in Excel using Abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324799#M1835854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has been a while and hence I do not remember the exact answer. However I was unable to come up with a solution since the macros itself within excel was quite complex. Hence came up with a workaround. I requested them to save an empty excel file with the required macros in the shared location. I always used to open that file and use a copy of it to save to the local client. Even if they had to change the macros in future, they can just change it the existing excel file present in the shared drive.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 03:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324799#M1835854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-02T03:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macros in Excel using Abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324800#M1835855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anup for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreejith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 11:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324800#M1835855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-05T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create Macros in Excel using Abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324801#M1835856</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 have the following requirements&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Place 2 Buttons Insert / Delete Rows in the excel file which will be generated by ABAP program&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using OLE. On pressing the buttons the corresponding on action macros will be executed.&lt;/P&gt;&lt;P&gt;2. Paste special option which will copy one row and format the rest of the rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the entire excel will be generated through the abap program is there a way to achieve the above requirements. I have tried to place button and do paste special which dint work.&lt;/P&gt;&lt;P&gt;I could't find any resource to refer for creating macro. All the forums here refers to existing macros in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this is an urgent requirement, I request experts to through some light on this if any one has worked on this requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2016 15:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-macros-in-excel-using-abap/m-p/10324801#M1835856</guid>
      <dc:creator>ravichandran_nithyapalani</dc:creator>
      <dc:date>2016-07-23T15:06:09Z</dc:date>
    </item>
  </channel>
</rss>

