<?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: excel 2000 &amp; excel 2003 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654241#M611993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have resolved it myself,  share my experience&lt;/P&gt;&lt;P&gt;for excel 2003 &lt;/P&gt;&lt;P&gt;set property of g_excel 'Visible' = '1'.  and set property of g_excel 'Visible' = 1. &lt;/P&gt;&lt;P&gt;are same but&lt;/P&gt;&lt;P&gt;for excel 2000&lt;/P&gt;&lt;P&gt;only set property of g_excel 'Visible' = 1&lt;/P&gt;&lt;P&gt;is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 05:40:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-28T05:40:04Z</dc:date>
    <item>
      <title>excel 2000 &amp; excel 2003</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654240#M611992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;these code can work at excel 2003 but cant work at excel 2000,pls give me some&lt;/P&gt;&lt;P&gt;help,Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object g_excel 'EXCEL.APPLICATION'.&lt;/P&gt;&lt;P&gt;  CALL METHOD OF g_excel 'Workbooks' = g_WORKBOOK.&lt;/P&gt;&lt;P&gt;  CALL METHOD OF g_WORKBOOK 'Add'.&lt;/P&gt;&lt;P&gt;  CALL METHOD OF g_excel 'Worksheets' = g_SHEET&lt;/P&gt;&lt;P&gt;                 EXPORTING #1 = 1.&lt;/P&gt;&lt;P&gt;  CALL METHOD OF g_SHEET 'Activate'.&lt;/P&gt;&lt;P&gt;set property of g_excel 'Visible' = '1'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 04:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654240#M611992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T04:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: excel 2000 &amp; excel 2003</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654241#M611993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have resolved it myself,  share my experience&lt;/P&gt;&lt;P&gt;for excel 2003 &lt;/P&gt;&lt;P&gt;set property of g_excel 'Visible' = '1'.  and set property of g_excel 'Visible' = 1. &lt;/P&gt;&lt;P&gt;are same but&lt;/P&gt;&lt;P&gt;for excel 2000&lt;/P&gt;&lt;P&gt;only set property of g_excel 'Visible' = 1&lt;/P&gt;&lt;P&gt;is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 05:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654241#M611993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T05:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: excel 2000 &amp; excel 2003</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654242#M611994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This is what i normally do on Excel 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CREATE OBJECT excel 'EXCEL.APPLICATION'.

  IF sy-subrc NE 0.
    WRITE: / 'No EXCEL creation possible'.
    STOP.
  ENDIF.

  SET PROPERTY OF excel 'DisplayAlerts' = 0.
  CALL METHOD OF excel 'WORKBOOKS' = workbook .

* SET PROPERTY OF excel 'VISIBLE' = 1.


* creating workbook
  SET PROPERTY OF excel 'SheetsInNewWorkbook' = 1.
  CALL METHOD OF workbook 'ADD'.

* creating sheets
  DO 3 TIMES.
    IF sy-index GT 1.
      CALL METHOD OF excel 'WORKSHEETS' = sheet.
      CALL METHOD OF sheet 'ADD'.
      FREE OBJECT sheet.
    ENDIF.
  ENDDO.

count = 0.
do 3 times.
  count = count + 1.
  CALL METHOD OF excel 'WORKSHEETS' = sheet
    EXPORTING
    #1 = count.

* setting the initial position of the index sheet
  row = 1.
  col = 1.

* naming and activating the index sheet
  SET PROPERTY OF sheet 'NAME' = count.
  CALL METHOD OF sheet 'ACTIVATE'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 06:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-2000-excel-2003/m-p/2654242#M611994</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-08-28T06:30:49Z</dc:date>
    </item>
  </channel>
</rss>

