<?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: Using DDE to open a password protected Spreadsheet in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-DDE-to-open-a-password-protected-Spreadsheet/m-p/29306#M6865</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have managed to get an answer from another source.&lt;BR /&gt;
&lt;BR /&gt;
Its coded below for any others you require it.&lt;BR /&gt;
&lt;BR /&gt;
options noxwait noxsync;&lt;BR /&gt;
x '"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"'; &lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   x=sleep(10);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
filename cmds dde 'excel|system';&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
    file cmds;&lt;BR /&gt;
	put '[Open("\\Datal0047\Clientserv\SAS\Devt\daniel\excel\Test1.xls",,,,"'"test123"'")]';&lt;BR /&gt;
run;</description>
    <pubDate>Fri, 08 May 2009 10:11:06 GMT</pubDate>
    <dc:creator>Doyleuk</dc:creator>
    <dc:date>2009-05-08T10:11:06Z</dc:date>
    <item>
      <title>Using DDE to open a password protected Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-DDE-to-open-a-password-protected-Spreadsheet/m-p/29305#M6864</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am lookin to open a password protected spreadsheet via SAS using DDE.&lt;BR /&gt;
&lt;BR /&gt;
My code below runs perfect for opening non password protected spreadsheets.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone please help me amend my code to include the password parameter within my code.&lt;BR /&gt;
&lt;BR /&gt;
options noxwait noxsync;&lt;BR /&gt;
x '"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"'; &lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   x=sleep(10);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
filename cmds dde 'excel|system';&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
    file cmds;&lt;BR /&gt;
	put '[Open("\\Datal0047\Clientserv\SAS\Devt\daniel\excel\Test1.xls")]';&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 08 May 2009 07:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-DDE-to-open-a-password-protected-Spreadsheet/m-p/29305#M6864</guid>
      <dc:creator>Doyleuk</dc:creator>
      <dc:date>2009-05-08T07:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using DDE to open a password protected Spreadsheet</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-DDE-to-open-a-password-protected-Spreadsheet/m-p/29306#M6865</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have managed to get an answer from another source.&lt;BR /&gt;
&lt;BR /&gt;
Its coded below for any others you require it.&lt;BR /&gt;
&lt;BR /&gt;
options noxwait noxsync;&lt;BR /&gt;
x '"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"'; &lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   x=sleep(10);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
filename cmds dde 'excel|system';&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
    file cmds;&lt;BR /&gt;
	put '[Open("\\Datal0047\Clientserv\SAS\Devt\daniel\excel\Test1.xls",,,,"'"test123"'")]';&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 08 May 2009 10:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-DDE-to-open-a-password-protected-Spreadsheet/m-p/29306#M6865</guid>
      <dc:creator>Doyleuk</dc:creator>
      <dc:date>2009-05-08T10:11:06Z</dc:date>
    </item>
  </channel>
</rss>

