<?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: Excel Document Not Opening with X Commands in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/575364#M162738</link>
    <description>&lt;P&gt;thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will continue to play around with it and return if I am still having issues.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 13:21:43 GMT</pubDate>
    <dc:creator>acooper</dc:creator>
    <dc:date>2019-07-22T13:21:43Z</dc:date>
    <item>
      <title>Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/573991#M162102</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attempting to open up an excel document using an x command. I am currently not getting any errors, the code is running to completion, however, nothing is happening upon completion of the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The document lives on a shared directory, and is in a virtual environment. We are not sure if either of these are causing the issue. Other x commands are functioning (creating or deleting items), so we can at least confirm that the xcmd functionality is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any recommendations would be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code used below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;option&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=xcmd; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;noxwait&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; noxsync;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;x&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'"directory\x_experiments\DelimitedExample"'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 19:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/573991#M162102</guid>
      <dc:creator>acooper</dc:creator>
      <dc:date>2019-07-16T19:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/573992#M162103</link>
      <description>Did you test your x command in a command window? That doesn't look correct to open an XLSX file, there's no file extension for one or a filename. &lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jul 2019 19:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/573992#M162103</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-16T19:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/573995#M162104</link>
      <description>&lt;P&gt;Howdy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the file name is included (DelimitedExample). I had seen the&amp;nbsp;extension left&amp;nbsp;off in other threads, so I had left it off in my experiments to get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;playing around with the command prompt now to try and get it to work in a different file first. would I be using .exe or .xlsx?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 20:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/573995#M162104</guid>
      <dc:creator>acooper</dc:creator>
      <dc:date>2019-07-16T20:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574000#M162105</link>
      <description>&lt;P&gt;Where is your SAS program running? This will only work if it is running on your PC. If the program is running on a remote SAS server, then you can't start a local Excel session from there.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 20:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574000#M162105</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-16T20:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574003#M162106</link>
      <description>Your slashes indicate unix, are you working on a unix machine and does it have Excel installed?</description>
      <pubDate>Tue, 16 Jul 2019 20:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574003#M162106</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-16T20:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574221#M162211</link>
      <description>&lt;P&gt;okay, that may unfortunately be (one of) the issues. Our system is running on a virtual environment and not on the main computer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as noted earlier, other x commands are working correctly (creating or destroying folders and txt documents), is there a way to tell which x commands would or would not work on a virtual environment?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574221#M162211</guid>
      <dc:creator>acooper</dc:creator>
      <dc:date>2019-07-17T15:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574223#M162213</link>
      <description>&lt;P&gt;excel is installed, this is being run on windows, not unix. what would you change in the formatting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574223#M162213</guid>
      <dc:creator>acooper</dc:creator>
      <dc:date>2019-07-17T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574224#M162214</link>
      <description>The x commands are executed in the virtual environment and will only affect the VM. Anything locally will not be accessible.</description>
      <pubDate>Wed, 17 Jul 2019 15:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574224#M162214</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-17T15:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574234#M162220</link>
      <description>&lt;P&gt;FWIW when I run&lt;/P&gt;
&lt;PRE&gt;x 'x:\data\junk.xlsx';&lt;/PRE&gt;
&lt;P&gt;the desired file opens. This is running SAS locally on a Windows10 machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No file extension, i.e. the XLSX part and the only thing that happens is a command prompt window opening.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574234#M162220</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-17T15:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574241#M162222</link>
      <description>&lt;P&gt;that is fine, I don't need to open anything on the local machine, im trying to open a document that also lives in the virtual environment.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:48:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574241#M162222</guid>
      <dc:creator>acooper</dc:creator>
      <dc:date>2019-07-17T15:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574839#M162497</link>
      <description>&lt;P&gt;As long as you are logging on to a Windows session on your virtual PC, then running SAS within this session then opening an Excel session should work. In essence Excel needs a display, virtual or real, to successfully start. No display, no Excel. This is different from using SAS to read or write Excel workbooks. In this case you aren't using Excel sessions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 00:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/574839#M162497</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-07-19T00:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Document Not Opening with X Commands</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/575364#M162738</link>
      <description>&lt;P&gt;thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will continue to play around with it and return if I am still having issues.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 13:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Excel-Document-Not-Opening-with-X-Commands/m-p/575364#M162738</guid>
      <dc:creator>acooper</dc:creator>
      <dc:date>2019-07-22T13:21:43Z</dc:date>
    </item>
  </channel>
</rss>

