<?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: PROC IMPORT Excel file .xlsb by using SAS 9.3 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173354#M264439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! But SAS 9.3 does not accept MIXED = YES for .xlsb format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 12:57:36 GMT</pubDate>
    <dc:creator>weizhongma</dc:creator>
    <dc:date>2014-04-09T12:57:36Z</dc:date>
    <item>
      <title>PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173352#M264437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Hi there, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;I am trying to import an excel file (extension xlsb) into SAS. One of the fields contain a mix between Numeric and Character, e.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="164"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding-left: 5.4pt; padding-right: 5.4pt; border: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;Record&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: windowtext 1pt solid; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;Contract Id&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;8522340951&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;8522213022&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;8522212766&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;8522366129&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;6&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;MM1309200020&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;7&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; background: yellow; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;MM1309500016&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;8&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;MM1309900001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: black; font-size: 11pt;"&gt;9&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-bottom: windowtext 1pt solid; border-left: medium none; padding-left: 5.4pt; padding-right: 5.4pt; border-top: medium none; border-right: windowtext 1pt solid;" valign="bottom" width="100"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;MM1309900012&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;I use the following codes which default the field to be numeric, thus, record 6 to 9 becomes blank in the dataset. How do I bring in the field to be character?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;IMPORT&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;OUT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=cdepositbuffer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;DATAFILE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;"C:\Users\1144082\Documents\wfh\work\scb\20140409 - sas93 migration\input\Deposit Buffer 20140331.xlsb"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;DBMS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=EXCELCS REPLACE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;sheet&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;"sheet1"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;RUN&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;Weizhong&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 08:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173352#M264437</guid>
      <dc:creator>weizhongma</dc:creator>
      <dc:date>2014-04-09T08:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173353#M264438</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;Try adding mixed=yes; after sheet line.&amp;nbsp; However you may find that your system is setup to only check a few records, so you may need to update guessingrows in your registry to a higher numer (i.e. number of rows it checks to see type of format).&amp;nbsp; Alternatively save the xlsb as csv and read it in manually using infile where you can setup explicit formats/lengths etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 08:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173353#M264438</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-09T08:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173354#M264439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! But SAS 9.3 does not accept MIXED = YES for .xlsb format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 12:57:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173354#M264439</guid>
      <dc:creator>weizhongma</dc:creator>
      <dc:date>2014-04-09T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173355#M264440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, it works on xlsx, how annoying.&amp;nbsp; Have you tried libnaming to the file:&lt;/P&gt;&lt;P&gt;libname my_xls excel "S:\Temp\Rob\tmp.xlsx" mixed=yes;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then:&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set my_xls.'sheet1$'n;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See what that does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 13:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173355#M264440</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-09T13:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173356#M264441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way for MIXED = YES working for &lt;STRONG&gt;.xlsb format&lt;/STRONG&gt; in SAS 9.3? I have many files in .xlsb format and it is not possible to change all of them to .xlsx format.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173356#M264441</guid>
      <dc:creator>weizhongma</dc:creator>
      <dc:date>2014-04-09T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173357#M264442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try the libname approach?&lt;/P&gt;&lt;P&gt;Two other things I can think of unless someone has the mixed working with.xlsb files:&lt;/P&gt;&lt;P&gt;-&amp;gt; Have a master Excel file with a VBA macro in.&amp;nbsp; That macro could open each file, say in a selected folder, and save it out as .xlsx.&amp;nbsp; Then you would be able to use the above examples. &lt;/P&gt;&lt;P&gt;-&amp;gt; Read the data directly from the underlying xml.&amp;nbsp; This is a difficult path however, unzip the file, then parse the xml in the subfolders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173357#M264442</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-09T14:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173358#M264443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, tried. It works. Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I do not want to change my original Excel files. Does MIXED=YES not work for .xlsb format? Anyone can confirm this? Thanks!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173358#M264443</guid>
      <dc:creator>weizhongma</dc:creator>
      <dc:date>2014-04-09T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173359#M264444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;xlsb is a _very_ poprietary format that is not officially documented, therefore it is hard/impossible/illegal to parse it outside of MS Office. It is also prone to complete loss of data if something happens to the file (Compressed xml can usually be recoverd up to the error point).&lt;/P&gt;&lt;P&gt;After my experiences with xls vs. ods, doc vs. odt or xls vs. xlsx I will stay away from xlsb.&lt;/P&gt;&lt;P&gt;OTOH, I try to avoid Excel anyway. I've got LibreOffice for small things and SAS for serious work &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:37:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173359#M264444</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-04-09T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173360#M264445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, would agree with KurtBremser there, avoid Excel for any vital data transfer.&amp;nbsp; However you don't need to modify the original files.&amp;nbsp; In my example of the Excel Macro what I would do is to setup a folder called Data\In, and a folder Data\Out.&amp;nbsp; Put your original files in the in area. then write a master Excel file with one macro which opens each file in \In, then calls the save as Excel function to save the file to the \Out folder.&amp;nbsp; Hence you would have two versions, the original and the new one.&amp;nbsp; Then use the new ones to read into SAS.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:43:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173360#M264445</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-09T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT Excel file .xlsb by using SAS 9.3</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173361#M264446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having utilized a macro found online and manipulating it to do much what you want, here is a VBA macro.&amp;nbsp; So have a data\In nad data\out somewhere.&amp;nbsp; Put your xlsb files in the in.&amp;nbsp; then create a master excel file and and the macro into the code (alt-f11).&amp;nbsp; Then alt-f8 run the code.&amp;nbsp; It will ask you to locate the in folder, then open each file in that folder, saving the file as xlsx, then closing that file.&amp;nbsp; You don't actually even need to save the master.&amp;nbsp; Note this was just a quick manipulation to show operation not a full blown set of code (which should have error checking etc.).&lt;/P&gt;&lt;P&gt;Sub GetFileNames()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim xRow As Long&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim xDirect$, xFname$, InitialFoldr$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitialFoldr$ = "C:\" '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; With Application.FileDialog(msoFileDialogFolderPicker)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .InitialFileName = Application.DefaultFilePath &amp;amp; "\"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Title = "Please select a folder to list Files from"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .InitialFileName = InitialFoldr$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If .SelectedItems.Count &amp;lt;&amp;gt; 0 Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xDirect$ = .SelectedItems(1) &amp;amp; "\"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xFname$ = Dir(xDirect$, 7)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do While xFname$ &amp;lt;&amp;gt; ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set wb = Workbooks.Open("s:\temp\rob\data\in\" &amp;amp; xFname$) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wb.SaveAs "s:\temp\rob\data\out\" &amp;amp; Replace(xFname$, ".xlsb", ".xlsx"), FileFormat:=51&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wb.Close False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xRow = xRow + 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xFname$ = Dir&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End With&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 15:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-IMPORT-Excel-file-xlsb-by-using-SAS-9-3/m-p/173361#M264446</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-04-09T15:06:40Z</dc:date>
    </item>
  </channel>
</rss>

