<?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 import a excel with format into sas? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527737#M143942</link>
    <description>&lt;P&gt;If you want to control how data is imported into SAS, you must not use the Excel file format. Export your data to a text file from Excel, and read that with a data step where you can set attributes as you please.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jan 2019 15:24:09 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-01-16T15:24:09Z</dc:date>
    <item>
      <title>how to import a excel with format into sas?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527721#M143931</link>
      <description>&lt;P&gt;dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have imported an .XLSX file into SAS by the following code,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile = 'C:\Users\70660\Desktop\Datastream_GB.xlsx' OUT=sa_step5.DATASTREAM_GB1 DBMS=XLSX replace;

Sheet='Total1';
RANGE='A1: I16458';
GETNAMES=YES;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But I confuse what should I do if I expect to define the&amp;nbsp;FORMAT of the variable during the proc import step. could you please give me some suggestions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527721#M143931</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2019-01-16T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a excel with format into sas?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527737#M143942</link>
      <description>&lt;P&gt;If you want to control how data is imported into SAS, you must not use the Excel file format. Export your data to a text file from Excel, and read that with a data step where you can set attributes as you please.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 15:24:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527737#M143942</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-16T15:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a excel with format into sas?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527893#M144006</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;It would be helpful if you could post a workbook with sample data, explain the results that you got, and explain the results that you want.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 23:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-import-a-excel-with-format-into-sas/m-p/527893#M144006</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2019-01-16T23:36:51Z</dc:date>
    </item>
  </channel>
</rss>

