<?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 Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282005#M753</link>
    <description>&lt;P&gt;I have 30+ years of SAS programming experience (hello TSO/MVS!!) but am a total neophyte when it comes to SAS&amp;nbsp; Studio (but I like it). in the SAS PC version, when listing the data-sets, you can right click on a data-set and there is an option to immediately export to Excel. Is there such an option in Studio? If so, would someone please kindly point me to where it can be found?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't need to write code, I just want a quick export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2016 14:26:23 GMT</pubDate>
    <dc:creator>SASGeek</dc:creator>
    <dc:date>2016-07-04T14:26:23Z</dc:date>
    <item>
      <title>Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282005#M753</link>
      <description>&lt;P&gt;I have 30+ years of SAS programming experience (hello TSO/MVS!!) but am a total neophyte when it comes to SAS&amp;nbsp; Studio (but I like it). in the SAS PC version, when listing the data-sets, you can right click on a data-set and there is an option to immediately export to Excel. Is there such an option in Studio? If so, would someone please kindly point me to where it can be found?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't need to write code, I just want a quick export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 14:26:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282005#M753</guid>
      <dc:creator>SASGeek</dc:creator>
      <dc:date>2016-07-04T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282032#M754</link>
      <description>&lt;P&gt;I know you like SAS studio and far be it for me to suggest the old boring text editor, but I can highlight a dataset in the old text editor, hit a function key or type xlsh on the command line an excel will popup with the dataset. I can then save it anywhere. You could type xlsl on the command line to open the last dataset created in excel. Obviously you can easily tailor the commnd macro to do other things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the macro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a zip file that will demonstrates some function key settings and some command macros that are helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have some additional command line capabilitues like 'EVLH' which will evaluate any highlighted formula line 2*3+6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need the old text editor because key SAS scripting capabilities have been removed in all subsequent editors, ir EE, EG, and SAS Studio (most notable the 'save' command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro xlsh /cmd ;
   store;note;notesubmit '%xlsha;';
   run;
%mend xlsh;

%macro xlsha/cmd;

    filename clp clipbrd ;
    data _null_;
     infile clp;
     input;
     put _infile_;
     call symputx('argx',_infile_);
    run;

    %let __tmp=%sysfunc(pathname(work))\myxls.xlsx;

    data _null_;
        fname="tempfile";
        rc=filename(fname, "&amp;amp;__tmp");
        put rc=;
        if rc = 0 and fexist(fname) then
       rc=fdelete(fname);
    rc=filename(fname);
    run;

    libname __xls excel "&amp;amp;__tmp";
    data __xls.%scan(__&amp;amp;argx,1,%str(.));
        set &amp;amp;argx.;
    run;quit;
    libname __xls clear;

    data _null_;z=sleep(1);run;quit;

    options noxwait noxsync;
    /* Open Excel */
    x "'C:\Program Files\Microsoft Office\OFFICE14\excel.exe' &amp;amp;__tmp";
    run;quit;

%mend xlsha;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jul 2016 17:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282032#M754</guid>
      <dc:creator>rogerjdeangelis</dc:creator>
      <dc:date>2016-07-04T17:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282039#M755</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Studio 3.5&lt;/P&gt;
&lt;P&gt;In the Libraries Drawer use the RightMouseButton and you get a menu item to export the data, see also below&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3904i56259E0DF58A5069/image-size/original?v=v2&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 18:07:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282039#M755</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-07-04T18:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282057#M759</link>
      <description>&lt;P&gt;Thanks Roger - I'll try it. Even though I frankly prefer the text editor (DOS girl here!!), I need to brush up on my macro code so I'll give it a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the relly&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 22:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282057#M759</guid>
      <dc:creator>SASGeek</dc:creator>
      <dc:date>2016-07-04T22:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282058#M760</link>
      <description>Thanks Bruno - SWEET. I'll give Roger's answer a try too - can't have too many tools in the SAS arsenal.</description>
      <pubDate>Mon, 04 Jul 2016 22:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/282058#M760</guid>
      <dc:creator>SASGeek</dc:creator>
      <dc:date>2016-07-04T22:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/466880#M5621</link>
      <description>&lt;P&gt;When I try Bruno's option from SAS Studio it saves it to the SAS server file system, which in my case is remote.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was hoping it would trigger a download...&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 15:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/466880#M5621</guid>
      <dc:creator>RobP</dc:creator>
      <dc:date>2018-06-01T15:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/490010#M6089</link>
      <description>&lt;P&gt;You can then browse to the file and right click and click save to trigger the download. It's an extra step, but it works. It would be nice if there would be a button that does this automatically in the output.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 09:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/490010#M6089</guid>
      <dc:creator>Audron</dc:creator>
      <dc:date>2018-08-27T09:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data sets to Excel from SAS Studio 3.5 like in PC SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/603893#M8278</link>
      <description>&lt;P&gt;I exported a very simple dataset to a .csv file.&amp;nbsp; I want to use this data in excel to make a simple scatter plot graph.&amp;nbsp; But for some reason when the data comes from SAS, excel does not want to draw a graph?&amp;nbsp; Can anybody help?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Exporting-data-sets-to-Excel-from-SAS-Studio-3-5-like-in-PC-SAS/m-p/603893#M8278</guid>
      <dc:creator>mvniekerk</dc:creator>
      <dc:date>2019-11-13T15:53:46Z</dc:date>
    </item>
  </channel>
</rss>

