<?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: Exporting password protected Excel files using SAS in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160513#M1444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using SAS Enterprise Guide 5.1 on a Windows 7 workstation and Excel is installed locally on this machine though I cant find the Excel.exe file (I believe IT may have it hidden).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 15:02:50 GMT</pubDate>
    <dc:creator>GCARTE2</dc:creator>
    <dc:date>2014-03-31T15:02:50Z</dc:date>
    <item>
      <title>Exporting password protected Excel files using SAS</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160511#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm somewhat of a beginner to SAS and trying to export a password protected Excel file to a location on my network using SAS.&amp;nbsp; I've tried to reference the information in the SAS knowledge base under &lt;SPAN style="font-size: 10pt;"&gt;Sample &lt;EM&gt;31328: &lt;/EM&gt;Creating password-protected Excel files with SAS® software but I keep getting various errors including "ERROR: Insufficient authorization to access DDE".&amp;nbsp; The errors seem to occur for the steps in the process that are supposed to open Excel.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there a way to export a password protected Excel file from SAS without having to have the workbook opened?&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp; Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Mar 2014 13:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160511#M1442</guid>
      <dc:creator>GCARTE2</dc:creator>
      <dc:date>2014-03-29T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting password protected Excel files using SAS</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160512#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAS are you using and on what platform (windows, server, unix etc...)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to remember is that excel has to be installed on the same machine as where SAS is running for DDE to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 14:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160512#M1443</guid>
      <dc:creator>esjackso</dc:creator>
      <dc:date>2014-03-31T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting password protected Excel files using SAS</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160513#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using SAS Enterprise Guide 5.1 on a Windows 7 workstation and Excel is installed locally on this machine though I cant find the Excel.exe file (I believe IT may have it hidden).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 15:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160513#M1444</guid>
      <dc:creator>GCARTE2</dc:creator>
      <dc:date>2014-03-31T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting password protected Excel files using SAS</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160514#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your problem is Enterprise Guide had deprecated the use of DDE. Here is a exert from a Chris Hemedinger paper (2008) [&lt;A href="http://www.nesug.org/proceedings/nesug08/ff/ff16.pdf" title="http://www.nesug.org/proceedings/nesug08/ff/ff16.pdf"&gt;http://www.nesug.org/proceedings/nesug08/ff/ff16.pdf]&lt;/A&gt;&lt;/P&gt;&lt;P&gt;DDE IS DOA &lt;/P&gt;&lt;P&gt;DDE, or Dynamic Data Exchange, is a 20-year-old protocol that Microsoft Windows applications can use to send &lt;/P&gt;&lt;P&gt;messages and commands to each other. The SAS programming language includes a FILENAME statement access &lt;/P&gt;&lt;P&gt;method for DDE to facilitate conversations between SAS for Microsoft Windows and other applications. For years, &lt;/P&gt;&lt;P&gt;SAS programmers have used DDE to read and write data programmatically in Microsoft Excel worksheets. When &lt;/P&gt;&lt;P&gt;the SAS program runs, it issues commands to start a Microsoft Excel process and establish a communication link, &lt;/P&gt;&lt;P&gt;open workbook files, and access data in particular worksheet cells. It's interesting to watch such programs in action &lt;/P&gt;&lt;P&gt;because Microsoft Excel windows pop up and values appear in cells as if they were typed in by an invisible hand. &lt;/P&gt;&lt;P&gt;DDE technology works only under certain conditions, and these conditions are often not met when using SAS &lt;/P&gt;&lt;P&gt;Enterprise Guide. One condition is two processes that are communicating via DDE must be running on the same &lt;/P&gt;&lt;P&gt;machine. In a distributed environment where SAS is running on a remote server, the version of Microsoft Excel on &lt;/P&gt;&lt;P&gt;your local PC is inaccessible to your SAS program. Remember, the DDE link is between Microsoft Excel and SAS, &lt;/P&gt;&lt;P&gt;not SAS Enterprise Guide. The remote SAS session might even be running on a system other than Windows, such &lt;/P&gt;&lt;P&gt;as UNIX, where DDE isn't supported at all. &lt;/P&gt;&lt;P&gt;The second requirement is that the SAS session must run in a windowing environment. Even if your SAS session is &lt;/P&gt;&lt;P&gt;running on a PC that has Microsoft Excel installed, the SAS session is running headless, which means that it has no &lt;/P&gt;&lt;P&gt;visible windows. Without this window environment in place, DDE (which relies on Windows messages) is not &lt;/P&gt;&lt;P&gt;effective. &lt;/P&gt;&lt;P&gt;SAS Enterprise Guide has built-in features to import and export data to and from Microsoft Excel, and you can use &lt;/P&gt;&lt;P&gt;those features to gain back some of the ground lost without DDE. However, SAS Enterprise Guide doesn't offer the &lt;/P&gt;&lt;P&gt;same level of control at the cell level as DDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And a KB note to confirm .... &lt;A class="active_link" href="http://support.sas.com/kb/20/767.html" style="font-size: 10pt; line-height: 1.5em;" title="http://support.sas.com/kb/20/767.html"&gt;20767 - Use of DDE in SAS® Enterprise Guide® or SAS\CONNECT® software is not supported &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without digging into the EG settings I think even x commands are out so writing a script that would take the resulting sas file and apply the password is out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to post under EG as well to see if someone has a work around. I am out of ideas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 15:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160514#M1445</guid>
      <dc:creator>esjackso</dc:creator>
      <dc:date>2014-03-31T15:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting password protected Excel files using SAS</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160515#M1446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info.&amp;nbsp; No need to be sorry, this was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 15:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Exporting-password-protected-Excel-files-using-SAS/m-p/160515#M1446</guid>
      <dc:creator>GCARTE2</dc:creator>
      <dc:date>2014-03-31T15:20:56Z</dc:date>
    </item>
  </channel>
</rss>

