<?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: Import data from a file sas7bdat to excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171887#M33068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They behave diiferent.&lt;BR /&gt;The sas-viewer has limited data-size but operates without sas-license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can export data to csv to get that into excel (windows only).&amp;nbsp; When you get the data mailed this is a cheap quick way and fast to implement. &lt;BR /&gt;Every SAS-base environment is able to write data to a CSV.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Coded by hand it can be tuned to be run as mostly the fastest. After that you have to download that and import into Excel. The download being a challenge for performance, but focus on that.&lt;/P&gt;&lt;P&gt;ODS tagsets is more easy coding faster on that coding part when you have not only datasets but also reports.&lt;/P&gt;&lt;P&gt;Then libname excel/xlsx is supporting copy-past of datasets almost in a drag/drop approach. It is needing an environment supporting that (SAS/BASE Acsess pc-files)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When the server is running on a Unix you can implement the pc-fileserver on a Windows-server. There are more infrastructure requirments.&lt;/P&gt;&lt;P&gt;AMO (Addin for Microsoft Office) is the most elegant way. I transform MS-office as the user-interface for SAS. &lt;/P&gt;&lt;P&gt;&amp;nbsp; This integration of MS-office and SAS. The requirements are licensing and a SAS server BI instaltation (running the SAS metadataserver)&lt;/P&gt;&lt;P&gt;Eguide is connecting to a SAS server BI installation supporting his own interface. &lt;/P&gt;&lt;P&gt;&amp;nbsp; AMO and Eguide are hiding the communication (traffic for users)&lt;/P&gt;&lt;P&gt;Proc export and is taking about half a second.&lt;/P&gt;&lt;P&gt;Go for your real problem&amp;nbsp; half a second is not an issue. Only when you this in the number of several thousands times (about 2hours) I can imagine it will become problematic.&lt;/P&gt;&lt;P&gt;That is rethinking on your process.&lt;/P&gt;&lt;P&gt;- Are they all necessary as push or can it be a pull. (batch processing) Is processing in parallel an option? &lt;/P&gt;&lt;P&gt;- Is it webbased, than you could try ods / datastep to get it all in split second. Gaining performance is in using sessions that are kept open and reused as shared resources.&lt;/P&gt;&lt;P&gt;- analytics? Normally not having strict time options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc export is and easy coding way what also can be done in data-step when it is just exporting data.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Aug 2014 12:02:44 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-08-23T12:02:44Z</dc:date>
    <item>
      <title>Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171883#M33064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Is it possible to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;import the data into&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excel&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;File&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sas7bdat&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I ask&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;because&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a lot of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;command&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;export&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sasa&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"proc&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;export&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data =&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;and each&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;takes about&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;half a second.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Is there&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;maybe a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;faster way&lt;/SPAN&gt;. &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Thank you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 12:20:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171883#M33064</guid>
      <dc:creator>makset</dc:creator>
      <dc:date>2014-08-22T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171884#M33065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot directly read .sas7bdat files in Excel. You either need the SAS Addin for MS Office, the SAS ODBC Driver (which needs a SAS/SHARE server) or a method to export your data into a format that Excel can read (which you obviously already have).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 12:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171884#M33065</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-08-22T12:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171885#M33066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for a sasviewer?&lt;/P&gt;&lt;P&gt;writing to a csv using a sas datastep?&lt;BR /&gt;Using ODS tagset ?&lt;BR /&gt;Using the libname excel / xlslx interface?&lt;/P&gt;&lt;P&gt;AMO (addin Microsoft office)?&lt;/P&gt;&lt;P&gt;Eguide connection?&lt;/P&gt;&lt;P&gt;There are so many ways, counting them and easily forgetting some option...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 12:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171885#M33066</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-22T12:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171886#M33067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;So&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can you tell me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;which&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is the fastest&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of all&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;and which is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;able to export&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;open&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an excel sheet&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;data &lt;SPAN class="hps"&gt;based&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on these&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;graphs)&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Thank you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2014 11:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171886#M33067</guid>
      <dc:creator>makset</dc:creator>
      <dc:date>2014-08-23T11:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171887#M33068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They behave diiferent.&lt;BR /&gt;The sas-viewer has limited data-size but operates without sas-license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can export data to csv to get that into excel (windows only).&amp;nbsp; When you get the data mailed this is a cheap quick way and fast to implement. &lt;BR /&gt;Every SAS-base environment is able to write data to a CSV.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Coded by hand it can be tuned to be run as mostly the fastest. After that you have to download that and import into Excel. The download being a challenge for performance, but focus on that.&lt;/P&gt;&lt;P&gt;ODS tagsets is more easy coding faster on that coding part when you have not only datasets but also reports.&lt;/P&gt;&lt;P&gt;Then libname excel/xlsx is supporting copy-past of datasets almost in a drag/drop approach. It is needing an environment supporting that (SAS/BASE Acsess pc-files)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When the server is running on a Unix you can implement the pc-fileserver on a Windows-server. There are more infrastructure requirments.&lt;/P&gt;&lt;P&gt;AMO (Addin for Microsoft Office) is the most elegant way. I transform MS-office as the user-interface for SAS. &lt;/P&gt;&lt;P&gt;&amp;nbsp; This integration of MS-office and SAS. The requirements are licensing and a SAS server BI instaltation (running the SAS metadataserver)&lt;/P&gt;&lt;P&gt;Eguide is connecting to a SAS server BI installation supporting his own interface. &lt;/P&gt;&lt;P&gt;&amp;nbsp; AMO and Eguide are hiding the communication (traffic for users)&lt;/P&gt;&lt;P&gt;Proc export and is taking about half a second.&lt;/P&gt;&lt;P&gt;Go for your real problem&amp;nbsp; half a second is not an issue. Only when you this in the number of several thousands times (about 2hours) I can imagine it will become problematic.&lt;/P&gt;&lt;P&gt;That is rethinking on your process.&lt;/P&gt;&lt;P&gt;- Are they all necessary as push or can it be a pull. (batch processing) Is processing in parallel an option? &lt;/P&gt;&lt;P&gt;- Is it webbased, than you could try ods / datastep to get it all in split second. Gaining performance is in using sessions that are kept open and reused as shared resources.&lt;/P&gt;&lt;P&gt;- analytics? Normally not having strict time options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc export is and easy coding way what also can be done in data-step when it is just exporting data.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2014 12:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171887#M33068</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-23T12:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171888#M33069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;I'll tell&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you how I&lt;/SPAN&gt;'m doing now &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I'm doing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;calculations in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sas&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;using&lt;/SPAN&gt; "&lt;SPAN class="hps"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;expor"&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="hps"&gt;export&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excel file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(call it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"A"&lt;/SPAN&gt; file&lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt;)&lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;excel &lt;SPAN class="hps"&gt;files&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have from&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;10 to 140&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;KB)&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and then&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;run the&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;excel &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;macro&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;using&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dde&lt;/SPAN&gt;,&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;refresh&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the link&lt;/SPAN&gt; in &lt;SPAN class="hps"&gt;the excel file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(call it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"B"&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;files&lt;/SPAN&gt;) &lt;SPAN class="hps"&gt;which I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;graphs&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;based on these&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;All operations&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;are&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;batch&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;session.&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;My question is this&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;Is it possible&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Exporting&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;direct&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to a sheet&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the workbook&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(file)&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"B"&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;using (&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;without&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;) the file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"A".&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Requirements&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;- The excel file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;"B&lt;/SPAN&gt;" must be &lt;SPAN class="hps"&gt;always open&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;- Do not use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dde&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;because&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I do not know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;why but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;often&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;stops working&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and I mus&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;reboot the system&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;win7&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;basic installation&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sas&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;9.2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2014 19:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171888#M33069</guid>
      <dc:creator>makset</dc:creator>
      <dc:date>2014-08-23T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171889#M33070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makset, with those specifications an answer better fit to your topic hidden in the question is possible.&lt;/P&gt;&lt;P&gt;Functional (tech):&lt;/P&gt;&lt;P&gt;* The functionality as described stepA and stepB&amp;nbsp; would be nicely covered with AMO in interactive usage. &lt;BR /&gt;&amp;nbsp;&amp;nbsp; You do not have AMO and wanting batch processing.&lt;BR /&gt;* building graphs is highly improved with SAS. You could use Eguide for start of generating code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; With 9.3 and better with 9.4 if you do not have SAS/Graph licensed all kind of graphics is present with ODS graphics with the SAS base license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You should have Eguide as using sas 9.2 on W7.&amp;nbsp; &lt;/P&gt;&lt;P&gt;* DDE is originating as of the fist excel versions about 1993. Based on single machine spreadsheet processing and simulating the command as typed.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; By this you see a lot reasons to avoid it. It could get hung fo several reasons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution architecture:&lt;/P&gt;&lt;P&gt;* you can try to run everything as SAS commands directly. I see no real requirement for this.&lt;BR /&gt; * What you could imagine is adding all data coming form sas to a dedicated named sheet of an existing spreadsheet (using a template?)&lt;/P&gt;&lt;P&gt;* After having added the data to a spreadsheet that one to be updated by an Excel macro&lt;BR /&gt;* All processing to be automated at windows using command (powerscript) processing when Excel&amp;nbsp; neede to be updated. This code might be generated code by SAS processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technical tools design:&lt;/P&gt;&lt;P&gt;* SAS (9.2) with xcmd setting open.&amp;nbsp; If you use Eguide local,&amp;nbsp; it is open again at windows with 9.3 it was closed at 9.1.3. It is Windows registry update to fix that.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* Automating Excel new topic searching and found&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://stackoverflow.com/questions/2050505/way-to-run-excel-macros-from-command-line-or-batch-file" title="http://stackoverflow.com/questions/2050505/way-to-run-excel-macros-from-command-line-or-batch-file"&gt;vba - Way to run Excel macros from command line or batch file? - Stack Overflow&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://office.microsoft.com/en-ca/excel-help/command-line-switches-for-excel-HA102919739.aspx" title="http://office.microsoft.com/en-ca/excel-help/command-line-switches-for-excel-HA102919739.aspx"&gt; Command-line switches for Excel - Excel&lt;/A&gt;&lt;A href="http://support.microsoft.com/kb/291288/en" title="http://support.microsoft.com/kb/291288/en"&gt;http://support.microsoft.com/kb/291288/en&lt;/A&gt;&amp;nbsp; (Microsoft)&amp;nbsp;&amp;nbsp; With /p &amp;lt;folder&amp;gt; /e (no popups) /t using a template, with the spreadsheet as default option&lt;/P&gt;&lt;P&gt;&lt;A href="http://office.microsoft.com/en-us/excel-help/running-a-macro-when-excel-starts-HA001034628.aspx" title="http://office.microsoft.com/en-us/excel-help/running-a-macro-when-excel-starts-HA001034628.aspx"&gt;&amp;nbsp; Running a macro when Excel starts - Excel&lt;/A&gt; (Microsoft -old)&amp;nbsp; AUTO_open looks to be similar as autoexec of sas. &lt;A href="http://office.microsoft.com/en-ca/excel-help/customize-how-excel-starts-HP010197489.aspx?CTT=1" title="http://office.microsoft.com/en-ca/excel-help/customize-how-excel-starts-HP010197489.aspx?CTT=1"&gt; Customize how Excel starts - Excel&lt;/A&gt; (holding shift to disable)&lt;/P&gt;&lt;P&gt;* Seeing proc export&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000316288.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000316288.htm"&gt;Base SAS(R) 9.2 Procedures Guide&lt;/A&gt; it is generating a CSV unless you have Access to pcfiles &lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63181/HTML/default/viewer.htm#p1d0tocg3njhmfn1d4ld2covlwm0.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/63181/HTML/default/viewer.htm#p1d0tocg3njhmfn1d4ld2covlwm0.htm"&gt;SAS/ACCESS(R) 9.3 Interface to PC Files: Reference&lt;/A&gt;.&amp;nbsp; &lt;/P&gt;&lt;P&gt; In that case I would the xlsx approach. notice the libname statement usage. &lt;A href="http://support.sas.com/kb/42/981.html" title="http://support.sas.com/kb/42/981.html"&gt;42981 - Microsoft Excel files that have the .xlsx extension cannot be exported&lt;/A&gt; &lt;/P&gt;&lt;P&gt;* using the command processing think on adding a sleep/wait command as all excel spreadsheet processing will start almost simultaneously.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://technet.microsoft.com/en-us/library/bb490869.aspx" title="http://technet.microsoft.com/en-us/library/bb490869.aspx"&gt;Using batch files&lt;/A&gt; (Microsoft)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Detail design:&lt;BR /&gt;* When needed create all wanted excels spreadsheets from a template. A SAS generated script with ms-commands on windows to execute.&lt;/P&gt;&lt;P&gt;* fill a predefined sheetname with data in all excel spreadsheets.&lt;/P&gt;&lt;P&gt;* Have those spreadsheet been updated by an autocall excel-macro in a script,&amp;nbsp; A SAS generated script with ms-commands on windows to execute.&lt;/P&gt;&lt;P&gt;&amp;nbsp; That Excel-macro should be smartly designed supporting several conditions&amp;nbsp; (1/ copy 2/ open-generate graphs-close&amp;nbsp; 3/ open-view graphs &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 08:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171889#M33070</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-24T08:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171890#M33071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;hello&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I have a question&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;export&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;csv file&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sas&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;export the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;column&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;format&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;datetime21&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;csv&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;file&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;how&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to import it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;datetime&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;format&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;import &lt;SPAN class="hps"&gt;to me as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;text)&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Thank you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 14:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171890#M33071</guid>
      <dc:creator>makset</dc:creator>
      <dc:date>2014-08-26T14:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171891#M33072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only just noticed this post, so maybe has already been covered.&amp;nbsp; This type of question comes up a lot.&amp;nbsp; Basically SAS will export its data as output to a specific format, this could be a doc, rtf, xls etc.&amp;nbsp; This is output and does not invoke, nor change the destination.&amp;nbsp; Whilst DDE (which is old tech) supported some functionality, it wouldn't be my goto choice.&amp;nbsp; The way I see it is that you have an end result, that being an Excel file which you want to add in some data from another source.&amp;nbsp; SAS cannot know or have functionality to output to another application in the exact way that someone not using SAS has created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So look at it from the other side.&amp;nbsp;&amp;nbsp; You have an Excel file which someone has come up with, that is the principal item.&amp;nbsp; Into that some data needs to be fed, irrespective of wether that is SAS or a database etc.&amp;nbsp; I would thus propose that you have a base export from SAS to CSV or XLS, doesn't really matter, then create a macro using VBA which loads this data into your Excel file, processes it, re-creates pivot tables etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 14:28:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171891#M33072</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-26T14:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171892#M33073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to enter your timestamp manually in Excel, until you get it right. Then write a conversion step in SAS that produces exactly the same format, either with a predefined SAS format (there are LOTS of them) or by building a string variable step-by-step. Then import that via csv into Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 14:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171892#M33073</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-08-26T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from a file sas7bdat to excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171893#M33074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excel is having a date-type SAS is having a date-type they are not equal needing a transformation.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0cfqhcraieg81n1ier2cpp87fnz.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0cfqhcraieg81n1ier2cpp87fnz.htm"&gt;SAS/ACCESS(R) 9.4 Interface to PC Files: Reference, Third Edition&lt;/A&gt; (Microsoft Excel Workbook Files) is having this documented for the libname access method.&lt;/P&gt;&lt;P&gt;Variables have defined some of the known dateformats are translated by the SAS interface (when correctly implemented).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:19:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-data-from-a-file-sas7bdat-to-excel/m-p/171893#M33074</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-26T15:19:33Z</dc:date>
    </item>
  </channel>
</rss>

