<?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 Excel cant close without saving in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-cant-close-without-saving/m-p/4806946#M1125306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an Excel macro to execute a special calculus. So Iu2019m creating an Excel and a macro and executing it to get the return value.&lt;/P&gt;&lt;P&gt;The problem is when I finish the program I free all objects by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF h_excel 'QUIT'.&lt;/P&gt;&lt;P&gt;FREE OBJECT book_font.&lt;/P&gt;&lt;P&gt;FREE OBJECT p_val.&lt;/P&gt;&lt;P&gt;FREE OBJECT cell.&lt;/P&gt;&lt;P&gt;FREE OBJECT this_workbook.&lt;/P&gt;&lt;P&gt;FREE OBJECT workbooks.&lt;/P&gt;&lt;P&gt;FREE OBJECT newmodule.&lt;/P&gt;&lt;P&gt;FREE OBJECT module.&lt;/P&gt;&lt;P&gt;FREE OBJECT h_excel. "free up memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I get a pop up asking if I want to save the Excel Iu2019ve created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added this lines to deactivate the macro, and I stopped having the pop up but I still have an Excel process on the task manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF newmodule 'Desactivate'.&lt;/P&gt;&lt;P&gt;CALL METHOD OF module 'Desactivate'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2008 15:37:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-03T15:37:12Z</dc:date>
    <item>
      <title>Excel cant close without saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-cant-close-without-saving/m-p/4806946#M1125306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an Excel macro to execute a special calculus. So Iu2019m creating an Excel and a macro and executing it to get the return value.&lt;/P&gt;&lt;P&gt;The problem is when I finish the program I free all objects by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF h_excel 'QUIT'.&lt;/P&gt;&lt;P&gt;FREE OBJECT book_font.&lt;/P&gt;&lt;P&gt;FREE OBJECT p_val.&lt;/P&gt;&lt;P&gt;FREE OBJECT cell.&lt;/P&gt;&lt;P&gt;FREE OBJECT this_workbook.&lt;/P&gt;&lt;P&gt;FREE OBJECT workbooks.&lt;/P&gt;&lt;P&gt;FREE OBJECT newmodule.&lt;/P&gt;&lt;P&gt;FREE OBJECT module.&lt;/P&gt;&lt;P&gt;FREE OBJECT h_excel. "free up memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I get a pop up asking if I want to save the Excel Iu2019ve created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added this lines to deactivate the macro, and I stopped having the pop up but I still have an Excel process on the task manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF newmodule 'Desactivate'.&lt;/P&gt;&lt;P&gt;CALL METHOD OF module 'Desactivate'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 15:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-cant-close-without-saving/m-p/4806946#M1125306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Excel cant close without saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-cant-close-without-saving/m-p/4806947#M1125307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;I had to set the Excel property DisplayAlerts = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 13:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-cant-close-without-saving/m-p/4806947#M1125307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T13:05:09Z</dc:date>
    </item>
  </channel>
</rss>

