<?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: Need to save excel with password in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127839#M26097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tom, that's a useful reference for the SaveAs method, but I'm more interested in the documentation of the method described in the original post, save.as&amp;nbsp; In case anyone actually cares about this (which I doubt, since further searching suggests that dde has been deprecated in favor of ODS), I was able to figure out (via trial and error, which seems to be the most useful way to figure out how to use SAS) how to get save.as to work in my situation: I was having issues opening the spreadsheet created in Excel 2007 format (.xlsx), but the spreadsheet opened just fine when created in Excel 2003 format (.xls).&amp;nbsp; If you find yourself coming to this post because of similar issues in opening a spreadsheet created via the save.as method, you might find this useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 13:34:45 GMT</pubDate>
    <dc:creator>ewgrashorn</dc:creator>
    <dc:date>2013-12-04T13:34:45Z</dc:date>
    <item>
      <title>Need to save excel with password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127836#M26094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;trying to save the excel with password but the session is hungup when I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone explain me the put statement&lt;/P&gt;&lt;P&gt;put '[open(file)]'&lt;/P&gt;&lt;P&gt;put '[save.as('file',1,'password')]'&amp;nbsp; &lt;/P&gt;&lt;P&gt;put '[quit]'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to know that 1 stands for what how to tweak without creating file without Password and opening it ans saving with password&amp;nbsp; &lt;/P&gt;&lt;P&gt;without that can we do on singel step create password protected file directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 15:45:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127836#M26094</guid>
      <dc:creator>BobyGadu</dc:creator>
      <dc:date>2013-05-02T15:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need to save excel with password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127837#M26095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump; I too would like to know what the options for the save.as command are (or how to find them)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 18:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127837#M26095</guid>
      <dc:creator>ewgrashorn</dc:creator>
      <dc:date>2013-12-03T18:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need to save excel with password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127838#M26096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I simple google search found this page from Microsoft.&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/office/bb214129(v=office.12).aspx" style="font-size: 10pt; line-height: 1.5em;" title="http://msdn.microsoft.com/en-us/library/office/bb214129(v=office.12).aspx"&gt;SaveAs Method [Excel 2007 Developer Reference]&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 22:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127838#M26096</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-12-03T22:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to save excel with password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127839#M26097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tom, that's a useful reference for the SaveAs method, but I'm more interested in the documentation of the method described in the original post, save.as&amp;nbsp; In case anyone actually cares about this (which I doubt, since further searching suggests that dde has been deprecated in favor of ODS), I was able to figure out (via trial and error, which seems to be the most useful way to figure out how to use SAS) how to get save.as to work in my situation: I was having issues opening the spreadsheet created in Excel 2007 format (.xlsx), but the spreadsheet opened just fine when created in Excel 2003 format (.xls).&amp;nbsp; If you find yourself coming to this post because of similar issues in opening a spreadsheet created via the save.as method, you might find this useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 13:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127839#M26097</guid>
      <dc:creator>ewgrashorn</dc:creator>
      <dc:date>2013-12-04T13:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to save excel with password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127840#M26098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recommend you google search for "macrofun.hlp".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127840#M26098</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2013-12-04T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need to save excel with password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127841#M26099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would not bother with DDE. &lt;/P&gt;&lt;P&gt;This example may be helpful. &lt;A _jive_internal="true" href="https://communities.sas.com/message/128871#128871"&gt;https://communities.sas.com/message/128871#128871&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-save-excel-with-password/m-p/127841#M26099</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-12-04T14:20:06Z</dc:date>
    </item>
  </channel>
</rss>

