<?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: Suppress Excel 2007 save changes prompt in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166458#M300739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza. &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;put '[close(0)]';&lt;/SPAN&gt; worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 19:08:08 GMT</pubDate>
    <dc:creator>B_caapi</dc:creator>
    <dc:date>2014-05-20T19:08:08Z</dc:date>
    <item>
      <title>Suppress Excel 2007 save changes prompt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166455#M300736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how to use the DDE system topic to suppress the save changes prompt I get when closing excel? &lt;/P&gt;&lt;P&gt;My code is:&lt;/P&gt;&lt;P&gt;%MACRO SAVEAS(FILE);&lt;/P&gt;&lt;P&gt;OPTIONS NOXWAIT NOXSYNC;&lt;/P&gt;&lt;P&gt;*** Open Excel file ***;&lt;/P&gt;&lt;P&gt;x "start excel";&lt;/P&gt;&lt;P&gt;data _null_ ; x = SLEEP(2) ; run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename cmds DDE 'excel|system' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_ ;&lt;/P&gt;&lt;P&gt;file cmds ;&lt;/P&gt;&lt;P&gt;string1 = '[FILE-OPEN("'||"&amp;amp;dir.\&amp;amp;&amp;amp;FILE..xls"||'")]';&lt;/P&gt;&lt;P&gt;put string1;&lt;/P&gt;&lt;P&gt;PUT '[ERROR(FALSE)]';&lt;/P&gt;&lt;P&gt;string5 = '[save.as("'||"&amp;amp;dir.\&amp;amp;&amp;amp;FILE..txt"||'",3)]';&lt;/P&gt;&lt;P&gt;put string5;&lt;/P&gt;&lt;P&gt;put '[QUIT()]' ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;%MEND SAVEAS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to add a control program to run 6 sets of code but it stops each iteration and waits for me to click "no" before moving on. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 18:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166455#M300736</guid>
      <dc:creator>B_caapi</dc:creator>
      <dc:date>2014-05-20T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Excel 2007 save changes prompt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166456#M300737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Windows 7 enterprise, 32-bit&lt;/P&gt;&lt;P&gt;SAS 9.2 TS Level 2M3 W32_VSPRO platform&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 18:23:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166456#M300737</guid>
      <dc:creator>B_caapi</dc:creator>
      <dc:date>2014-05-20T18:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Excel 2007 save changes prompt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166457#M300738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Close the file before quitting, specifying save or not save. Not sure how you specify the logical.&lt;/P&gt;&lt;P&gt;I think I've used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put '[close(0)]';&lt;/P&gt;&lt;P&gt;Or it could be:&lt;/P&gt;&lt;P&gt;put '[close(FALSE)]' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/6365_pastedImage_0.png" style="width: 1200px; height: 575px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 18:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166457#M300738</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-20T18:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Excel 2007 save changes prompt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166458#M300739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza. &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;put '[close(0)]';&lt;/SPAN&gt; worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 19:08:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppress-Excel-2007-save-changes-prompt/m-p/166458#M300739</guid>
      <dc:creator>B_caapi</dc:creator>
      <dc:date>2014-05-20T19:08:08Z</dc:date>
    </item>
  </channel>
</rss>

