<?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: activate specific sheet in excel? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794010#M40289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using SAP DOI (Desktop Office Integration) you can use the method John mentioned at the thread pointed by Subramanian.&lt;/P&gt;&lt;P&gt;If you are using pure OLE, you can use this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM activate_sheet USING ip_sheet .
  CALL METHOD OF gs_excel 'Worksheets' = gs_actsheet
       EXPORTING #1 = ip_sheet .
  CALL METHOD OF gs_actsheet 'Activate' .
ENDFORM .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Dec 2004 22:58:17 GMT</pubDate>
    <dc:creator>ssimsekler</dc:creator>
    <dc:date>2004-12-06T22:58:17Z</dc:date>
    <item>
      <title>activate specific sheet in excel?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794008#M40287</link>
      <description>&lt;P&gt;Good Day to ALL!&lt;/P&gt;
  &lt;P&gt;I patterned my program in RSDEMO1(Download to Excel)and it goes well except the active Excel sheet is "Sheet1" by default)&lt;/P&gt;
  &lt;P&gt;The requirement is when my data reaches 11 records, i want it to write in "Sheet2"?&lt;/P&gt;
  &lt;P&gt;How can i activate the next sheet? &lt;/P&gt;
  &lt;P&gt;How can i go back to previous sheet?&lt;/P&gt;
  &lt;P&gt;Any sample codes can help...&lt;/P&gt;
  &lt;P&gt;THANKS...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2004 06:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794008#M40287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-06T06:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: activate specific sheet in excel?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794009#M40288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="133227"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2004 06:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794009#M40288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-06T06:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: activate specific sheet in excel?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794010#M40289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using SAP DOI (Desktop Office Integration) you can use the method John mentioned at the thread pointed by Subramanian.&lt;/P&gt;&lt;P&gt;If you are using pure OLE, you can use this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM activate_sheet USING ip_sheet .
  CALL METHOD OF gs_excel 'Worksheets' = gs_actsheet
       EXPORTING #1 = ip_sheet .
  CALL METHOD OF gs_actsheet 'Activate' .
ENDFORM .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2004 22:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-specific-sheet-in-excel/m-p/794010#M40289</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-12-06T22:58:17Z</dc:date>
    </item>
  </channel>
</rss>

