<?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: How to export the data to the Excel range in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686289#M208211</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp; - You can specify a range if you use DBMS = EXCEL in your PROC IMPORT. Check out this doc &lt;A href="https://documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=n0msy4hy1so0ren1acm90iijxn8j.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;link&lt;/A&gt; .&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 06:35:53 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2020-09-24T06:35:53Z</dc:date>
    <item>
      <title>How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/684741#M207560</link>
      <description>Hello Experts,&lt;BR /&gt;&lt;BR /&gt;Do you know please some method to export the data to the particular range of Excel file?&lt;BR /&gt; The proc export doesn’t work with range statement. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt; I would like to export the data and then to recalculate it with the Excel formulas.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!</description>
      <pubDate>Thu, 17 Sep 2020 18:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/684741#M207560</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-17T18:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/684748#M207562</link>
      <description>&lt;P&gt;If your version of SAS is running on a Windows-based system, take a look at the exportxl macro. It can export to a specific range and can even capitalize on using another workbook as a template.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The code that is available at:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/art297/Papers/blob/master/Excelling_to_Another_Level_with_SAS/src/exportxl.sas" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://github.com/art297/Papers/blob/master/Excelling_to_Another_Level_with_SAS/src/exportxl.sas&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the paper, powerpoint and tip sheet can be found at:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/art297/Papers/tree/master/Excelling_to_Another_Level_with_SAS/doc" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://github.com/art297/Papers/tree/master/Excelling_to_Another_Level_with_SAS/doc&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 18:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/684748#M207562</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-17T18:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686123#M208148</link>
      <description>Hello Art, &lt;BR /&gt;&lt;BR /&gt;Thank you for your suggestion.&lt;BR /&gt;Unfortunately, it doesn’t work for me, I’m using a distant server.</description>
      <pubDate>Wed, 23 Sep 2020 16:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686123#M208148</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-23T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686131#M208151</link>
      <description>&lt;P&gt;What operating system is the server running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 16:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686131#M208151</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-23T16:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686133#M208153</link>
      <description>Windows 7</description>
      <pubDate>Wed, 23 Sep 2020 17:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686133#M208153</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-23T17:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686140#M208155</link>
      <description>&lt;P&gt;Try running the macro but including the following parameter and value:&lt;/P&gt;
&lt;P&gt;usenotepad=Y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Often, if running on a server, the server doesn't have direct access to your system's clipbrd. As such, the above mentioned parameter will use the server's copy of Notepad to mimic a copy/paste operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me/us know if that worked.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 17:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686140#M208155</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-23T17:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686289#M208211</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp; - You can specify a range if you use DBMS = EXCEL in your PROC IMPORT. Check out this doc &lt;A href="https://documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=n0msy4hy1so0ren1acm90iijxn8j.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;link&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 06:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686289#M208211</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-09-24T06:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686310#M208221</link>
      <description>Thank you for your messge, SASKiwi.&lt;BR /&gt;Unfortunately, I'm looking for EXPORT.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686310#M208221</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-24T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686315#M208224</link>
      <description>Thank you Art,&lt;BR /&gt;&lt;BR /&gt;I run:  %exportxl(data=sashelp.class, outfile=c:\temp\class.xlsx,usenames=N,&lt;BR /&gt;        sheet=Students, usenotepad=Y)&lt;BR /&gt; Unfortunately I have no results (no file), but I don't have the errors in the log. &lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686315#M208224</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-24T09:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686359#M208249</link>
      <description>&lt;P&gt;Out of curiosity, have you downloaded and compiled the macro before trying to use it?&lt;/P&gt;
&lt;P&gt;Does your log provide any feedback?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686359#M208249</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686366#M208256</link>
      <description>Yes, I did that but it doesn't work</description>
      <pubDate>Thu, 24 Sep 2020 13:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686366#M208256</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-24T13:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686374#M208261</link>
      <description>&lt;P&gt;In order to know what is happening, I'd need to know what is written to your log. Do you know why you're not getting anything written to your log?&lt;/P&gt;
&lt;P&gt;Out of curiosity, what version of SAS are you running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686374#M208261</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686377#M208263</link>
      <description />
      <pubDate>Mon, 28 Sep 2020 08:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686377#M208263</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-28T08:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686437#M208301</link>
      <description>&lt;P&gt;In your call to the macro you are setting the outfile to be:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;c:\temp\class.xlsx&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does your server know what c:\temp is? I don't think so because it is trying to write to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;"',"\\laxxxx.com\LMPAPROD\USINE_PRIIPS\5. RETRAITEMENTS MANUELS\Chaine&lt;/P&gt;
&lt;P&gt;Profils\4. Analyse\Marie_TEST\class1.xlsx",'"&lt;/P&gt;
&lt;P&gt;As an outfile the macro needs to be supplied with a file that it can create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 17:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686437#M208301</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T17:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686446#M208304</link>
      <description>Yes, I used c:\temp\class.xlsx, I had no results, no file created, so I tried to write my outfile in «&amp;nbsp;\\laxxxx.com...&amp;nbsp;», I have the same: no results, no file created. &lt;BR /&gt;Thank you for your help</description>
      <pubDate>Thu, 24 Sep 2020 17:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686446#M208304</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-24T17:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686452#M208309</link>
      <description>&lt;P&gt;I suggest you check with your IT department. They can configure your environment so that the server will recognize c: (or some other drive) that exists on your computer and which you can write to.&lt;/P&gt;
&lt;P&gt;Once that is done, you should be able to use the macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 17:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686452#M208309</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-24T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686628#M208405</link>
      <description>Hello Art,&lt;BR /&gt;&lt;BR /&gt;Thank you for your mesage!&lt;BR /&gt;I don't think that it is possible.&lt;BR /&gt;There is no other SAS solutions?&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 25 Sep 2020 08:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686628#M208405</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-25T08:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686669#M208415</link>
      <description>&lt;P&gt;A first step would be to find out where you can actually create a file. Can you use proc export to create an Excel file of sashelp.class? If so, what specifically did you use as the path and name of the file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 12:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686669#M208415</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-25T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686675#M208417</link>
      <description>&lt;P&gt;Yes, I did that, my log is:&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14:43 Friday, September 25, 2020&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;*';*";*/;quit;run;&lt;/P&gt;
&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS PAGENO=MIN;&lt;/P&gt;
&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTTASKLABEL='Programme';&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROCESSFLOWNAME='Flux de processus';&lt;/P&gt;
&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTPATH='';&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTPATHHOST='';&lt;/P&gt;
&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;%LET _CLIENTPROJECTNAME='';&lt;/P&gt;
&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _SASPROGRAMFILE='';&lt;/P&gt;
&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _SASPROGRAMFILEHOST='';&lt;/P&gt;
&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS _ALL_ CLOSE;&lt;/P&gt;
&lt;P&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPTIONS DEV=PNG;&lt;/P&gt;
&lt;P&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GOPTIONS XPIXELS=0 YPIXELS=0;&lt;/P&gt;
&lt;P&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GOPTIONS ACCESSIBLE;&lt;/P&gt;
&lt;P&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Proc Export Data=sashelp.class&lt;/P&gt;
&lt;P&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Outfile= "\\laxxxx.com\LMPAPROD\USINE_PRIIPS\5. RETRAITEMENTS MANUELS\Chaine Profils\4.&lt;/P&gt;
&lt;P&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! Analyse\Marie_TEST\Class_test.xlsx"&lt;/P&gt;
&lt;P&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbms=xlsx&lt;/P&gt;
&lt;P&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; replace;&lt;/P&gt;
&lt;P&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;21&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: The export data set has 19 observations and 5 variables.&lt;/P&gt;
&lt;P&gt;NOTE: "\\ laxxxx.com\LMPAPROD\USINE_PRS\5. RETRAITEMENTS MANUELS\Chaine Profils\4. Analyse\Marie_TEST\Class_test.xlsx" file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; was successfully created.&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.30 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GOPTIONS NOACCESSIBLE;&lt;/P&gt;
&lt;P&gt;24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTTASKLABEL=;&lt;/P&gt;
&lt;P&gt;25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROCESSFLOWNAME=;&lt;/P&gt;
&lt;P&gt;26&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTPATH=;&lt;/P&gt;
&lt;P&gt;27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTPATHHOST=;&lt;/P&gt;
&lt;P&gt;28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _CLIENTPROJECTNAME=;&lt;/P&gt;
&lt;P&gt;29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _SASPROGRAMFILE=;&lt;/P&gt;
&lt;P&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %LET _SASPROGRAMFILEHOST=;&lt;/P&gt;
&lt;P&gt;31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;*';*";*/;quit;run;&lt;/P&gt;
&lt;P&gt;33&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS _ALL_ CLOSE;&lt;/P&gt;
&lt;P&gt;34&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;36&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUIT; RUN;&lt;/P&gt;
&lt;P&gt;37&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 12:47:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686675#M208417</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2020-09-25T12:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the data to the Excel range</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686739#M208442</link>
      <description>&lt;P&gt;You can use range= with proc export if you use dbms=xlsx. However, as I recall, that will allow you to write to a range but not an existing range. I.e., you can't modify an existing worksheet that way.&lt;/P&gt;
&lt;P&gt;I did notice a possible difference between your running proc export and running the macro. With proc export you enclosed the outfile with double quotes. You don't appear to have done that with the macro. Definitely worth a try .. i.e., enclosing the name supplied to the outfile parameter with double quotes.&lt;/P&gt;
&lt;P&gt;You could always try a dde approach but that, of course, comes with all of the problems that has caused everyone to stop using dde.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 15:40:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-the-data-to-the-Excel-range/m-p/686739#M208442</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2020-09-25T15:40:44Z</dc:date>
    </item>
  </channel>
</rss>

