<?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 avoid converting a numeric column to a character variable with the LIBNAME EXCEL statemen in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737386#M229875</link>
    <description>&lt;P&gt;I don't see any difference in the structure PROC IMPORT creates for your two sheets.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let fname = c:\downloads\Invoer.xls ;

proc import datafile="&amp;amp;fname" dbms=xls out=test replace;
run;

proc contents data=test varnum; run;


proc import datafile="&amp;amp;fname" dbms=xls out=test2 replace;
 sheet='Tabel2';
run;

proc contents data=test2 varnum; run;

proc compare data=test(obs=0) compare=test2(obs=0);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In general if you want to control the definition of your data do not use an unstructured format like Excel files.&lt;/P&gt;
&lt;P&gt;Either generate a structured format (SAS dataset, SPSS dataset , etc) or just generate a text file and write your own program to read it so that you have full control over how the dataset is generated.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 19:22:06 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-04-27T19:22:06Z</dc:date>
    <item>
      <title>How to avoid converting a numeric column to a character variable with the LIBNAME EXCEL statement?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737345#M229864</link>
      <description>&lt;P&gt;Dear Sir,&lt;/P&gt;&lt;P&gt;Dear Madam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I execute&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME ExcInv EXCEL "&amp;amp;Werkmap\Invoer.xls";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in SAS &lt;STRONG&gt;9.4&lt;/STRONG&gt;, the &lt;EM&gt;Getal&lt;/EM&gt; column in the Excel sheet &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Tabel2&lt;/FONT&gt; &lt;/STRONG&gt;of the Excel file &lt;FONT face="courier new,courier"&gt;Invoer.xls&lt;/FONT&gt; with only &lt;STRONG&gt;numeric&lt;/STRONG&gt; values and missing values (empty cells) is converted into a &lt;STRONG&gt;character&lt;/STRONG&gt; variable. (So, contrary to what I want, the variable &lt;EM&gt;Getal&lt;/EM&gt; in &lt;FONT face="courier new,courier"&gt;ExcInv."Tabel2$"n&lt;/FONT&gt; is a character variable, not a numeric variable.)&lt;/P&gt;&lt;P&gt;You will find herewith a copy of the Excel file &lt;FONT face="courier new,courier"&gt;Invoer.xls&lt;/FONT&gt; that is located in the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;amp;Werkmap&lt;/FONT&gt; folder.&lt;/P&gt;&lt;P&gt;On the other hand, the &lt;EM&gt;Getal&lt;/EM&gt; column in the Excel sheet &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Tabel1&lt;/FONT&gt;&lt;/STRONG&gt;, which also contains only &lt;STRONG&gt;numeric&lt;/STRONG&gt; values and missing values (empty cells), is transferred to a &lt;STRONG&gt;numeric&lt;/STRONG&gt; variable as desired.&lt;/P&gt;&lt;P&gt;Here is an illustration of the result:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Result of LIBNAME ExcInv EXCEL &amp;quot;&amp;amp;Werkmap\Invoer.xls&amp;quot;;" style="width: 561px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58737i188D828AE77603AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Result in SAS 9.4.png" alt="Result of LIBNAME ExcInv EXCEL &amp;quot;&amp;amp;Werkmap\Invoer.xls&amp;quot;;" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Result of LIBNAME ExcInv EXCEL "&amp;amp;Werkmap\Invoer.xls";&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do think that when running the same command in SAS &lt;STRONG&gt;9.3&lt;/STRONG&gt;, both the &lt;EM&gt;Getal&lt;/EM&gt; column in the &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Tabel1&lt;/FONT&gt; &lt;/STRONG&gt;sheet and the &lt;EM&gt;Getal&lt;/EM&gt; column in the &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Tabel2&lt;/FONT&gt; &lt;/STRONG&gt;sheet are converted to a &lt;STRONG&gt;numeric&lt;/STRONG&gt; variable. I cannot test this myself now, as I no longer have SAS 9.3 at my disposal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, is there a possibility in SAS &lt;STRONG&gt;9.4&lt;/STRONG&gt; to transfer the &lt;EM&gt;Getal&lt;/EM&gt; column in the Excel sheet &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Tabel2&lt;/FONT&gt; &lt;/STRONG&gt;to a &lt;STRONG&gt;numeric&lt;/STRONG&gt; variable with the &lt;STRONG&gt;LIBNAME statement using the EXCEL engine&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I get through&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA Ds2; SET ExcInv."Tabel2$"n (DBSASTYPE = (Getal = NUMERIC)); RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT DATAFILE = "&amp;amp;Werkmap\Invoer.xls" OUT = Ds2 DBMS = XLS REPLACE; SHEET = "Tabel2"; RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the desired result in &lt;FONT face="courier new,courier"&gt;Ds2&lt;/FONT&gt;, but the intention is to make sure that the variable &lt;EM&gt;Getal&lt;/EM&gt; in &lt;FONT face="courier new,courier"&gt;ExcInv."Tabel2$"n&lt;/FONT&gt; is also &lt;STRONG&gt;numeric&lt;/STRONG&gt;&amp;nbsp;immediately after executing the LIBNAME statement using the EXCEL engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help me?&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;&lt;P&gt;Peter Boonants&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Statbel (Statistics Belgium)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 17:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737345#M229864</guid>
      <dc:creator>Peter_Boonants</dc:creator>
      <dc:date>2021-04-27T17:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid converting a numeric column to a character variable with the LIBNAME EXCEL statemen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737386#M229875</link>
      <description>&lt;P&gt;I don't see any difference in the structure PROC IMPORT creates for your two sheets.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let fname = c:\downloads\Invoer.xls ;

proc import datafile="&amp;amp;fname" dbms=xls out=test replace;
run;

proc contents data=test varnum; run;


proc import datafile="&amp;amp;fname" dbms=xls out=test2 replace;
 sheet='Tabel2';
run;

proc contents data=test2 varnum; run;

proc compare data=test(obs=0) compare=test2(obs=0);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In general if you want to control the definition of your data do not use an unstructured format like Excel files.&lt;/P&gt;
&lt;P&gt;Either generate a structured format (SAS dataset, SPSS dataset , etc) or just generate a text file and write your own program to read it so that you have full control over how the dataset is generated.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 19:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737386#M229875</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-04-27T19:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid converting a numeric column to a character variable with the LIBNAME EXCEL statemen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737438#M229899</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;On the other hand, the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Getal&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;column in the Excel sheet&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Tabel1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, which also contains only&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;numeric&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;values and missing values (empty cells), is transferred to a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;numeric&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;variable as desired.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS makes its decision based on what it finds in&amp;nbsp; Excel. What's the difference between these columns?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure the clean the values and to format all the cells properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't check your fil as downloading MS Office files from in known sources is not possible nor wise here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 21:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737438#M229899</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-04-27T21:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid converting a numeric column to a character variable with the LIBNAME EXCEL statemen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737465#M229922</link>
      <description>&lt;P&gt;Your picture of Table1$ shows periods in the column getal. Are there actually periods in the XLS file? The engines for reading from XLS will treat periods without any numerals as text generating the result you see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not going to open your XLS for a number of reasons.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Almost any process that relies on getting consistent results from any of the XLS, XLSX files without an explicit code to parse the values, such as saving as CSV and reading with a data step or using a data step to process columns using similar input from column&amp;nbsp; to variable is very likely to have problems because the original file formats do not have any restrictions on the columns and garbage in the data interferes with clean conversion to SAS variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 22:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/737465#M229922</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-27T22:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid converting a numeric column to a character variable with the LIBNAME EXCEL statemen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/738274#M230258</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks to everyone who replied for the interesting answers and helpful advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, I have investigated the matter a little more deeply and have come to the conclusion that &lt;STRONG&gt;whether or not putting the Excel column headings in bold has an influence&lt;/STRONG&gt;. (Strange, but apparently true!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would also like to emphasize that I have executed everything in &lt;STRONG&gt;SAS 9.4.&lt;/STRONG&gt; Running the code in a different version of SAS (such as SAS 9.3) may give a different result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I understand very well that the Excel file that I added last Tuesday was not opened for security reasons. But, don't worry, &lt;STRONG&gt;you can easily construct it yourself (except for a certain formatting) by executing the following SAS code, provided that you have first chosen the desired working directory using &lt;FONT face="courier new,courier"&gt;%LET Werkmap = ...;&lt;/FONT&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%MACRO PrExport;
  %DO I = 1 %TO 2;
    PROC EXPORT DATA = Tabel&amp;amp;I DBMS = EXCEL OUTFILE = "&amp;amp;Werkmap\Invoer.xls" REPLACE; RUN;
  %END;
%MEND PrExport;

%LET IDl = %STR(INPUT Id 2. Getal 1. Letter $1. Miss 1. Bool 1.; DATALINES;);
DATA Tabel1; %UNQUOTE(&amp;amp;IDl)
 1 A 1
 26B 1
 3 C 0
 4 D 1
 58E 0
;
DATA Tabel2; %UNQUOTE(&amp;amp;IDl)
 1 A 0
 2 B 0
 3 C 0
 4 D 0
 5 E 0
 6 F 0
 7 G 1
 8 H 0
 9 I 0
10 J 1
11 K 1
126L 1
13 M 0
148N 0
15 O 0
165P 1
17 Q 1
183R 0
19 S 0
20 T 1
21 U 0
228V 0
231W 1
246X 0
25 Y 0
26 Z 0
;
%PrExport&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running the SAS code above, we notice as expected that each cell of each sheet in the generated Excel file &lt;FONT face="courier new,courier"&gt;&amp;amp;Werkmap\Invoer.xls&lt;/FONT&gt; has the default number format &lt;EM&gt;general&lt;/EM&gt; (&lt;STRONG&gt;number category &lt;EM&gt;general&lt;/EM&gt; for each cell, including each cell in the &lt;EM&gt;Getal&lt;/EM&gt; column&lt;/STRONG&gt;). This is also the case for the attachment I added last Tuesday.&lt;/P&gt;&lt;P&gt;As in Tuesday's attachment, &lt;STRONG&gt;there are in &lt;FONT face="courier new,courier"&gt;&amp;amp;Werkmap\Invoer.xls&lt;/FONT&gt; no cells at all that contain a period&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When, with the help of the following code, the LIBNAME command is executed, we notice that we still obtain the desired result. This means, among other things, that &lt;STRONG&gt;the variable &lt;EM&gt;Getal &lt;/EM&gt;is numeric in both &lt;FONT face="courier new,courier"&gt;ExcInv."Tabel1$"n&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;ExcInv."Tabel2$"n&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%MACRO LibnPrCont;
  LIBNAME ExcInv EXCEL "&amp;amp;Werkmap\Invoer.xls";
  %DO I = 1 %TO 2;
    PROC CONTENTS DATA = ExcInv."Tabel&amp;amp;I$"n ORDER = VARNUM; RUN;
  %END;
%MEND LibnPrCont;

%LibnPrCont&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&lt;/STRONG&gt; when before executing the LIBNAME command (or the &lt;FONT face="courier new,courier"&gt;LibnPrCont&lt;/FONT&gt; macro),&amp;nbsp;&lt;STRONG&gt;the column headings are (manually) set in bold in both Excel sheets&lt;/STRONG&gt;, we get the odd result as I described last Tuesday. In Tuesday's attachment, column headings are also in bold in both sheets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Boonants_0-1619808679166.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58914iABDFD4E97D0F39E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Peter_Boonants_0-1619808679166.png" alt="Peter_Boonants_0-1619808679166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So, despite the same formatting in Excel for both &lt;EM&gt;Getal &lt;/EM&gt;columns, we get with bold Excel column headers after executing &lt;FONT face="courier new,courier"&gt;LIBNAME ExcInv EXCEL "&amp;amp;Werkmap\Invoer.xls";&lt;/FONT&gt; in SAS 9.4 a different format for the &lt;EM&gt;Getal &lt;/EM&gt;variable in &lt;FONT face="courier new,courier"&gt;ExcInv."Tabel1$"n&lt;/FONT&gt; (namely numeric) than for the &lt;EM&gt;Getal&lt;/EM&gt; variable in &lt;FONT face="courier new,courier"&gt;ExcInv."Tabel2$"n&lt;/FONT&gt; (namely character)!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It is that which is so remarkable.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can it be explained why whether or not the Excel column headings are bold can affect the format in SAS?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Note that in the &lt;FONT face="courier new,courier"&gt;Tabel2&lt;/FONT&gt; sheet, the first record with no missing value in the &lt;EM&gt;Getal&lt;/EM&gt; column is the record with &lt;FONT face="courier new,courier"&gt;Id = 12&lt;/FONT&gt;, while that is the record with &lt;FONT face="courier new,courier"&gt;Id = 2&lt;/FONT&gt; in the &lt;FONT face="courier new,courier"&gt;Tabel1&lt;/FONT&gt; sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if we save &lt;FONT face="courier new,courier"&gt;&amp;amp;Werkmap\Invoer.xls&lt;/FONT&gt; as an &lt;STRONG&gt;xlsx file&lt;/STRONG&gt;, say as &lt;FONT face="courier new,courier"&gt;&amp;amp;Werkmap\Input.&lt;STRONG&gt;xlsx&lt;/STRONG&gt;&lt;/FONT&gt;, and if we then use in &lt;STRONG&gt;SAS 9.4&lt;/STRONG&gt; in the LIBNAME statement &lt;STRONG&gt;the XLSX engine&lt;/STRONG&gt; as illustrated below, we will get the desired result, namely that &lt;STRONG&gt;the variable &lt;EM&gt;Getal&lt;/EM&gt; is in both &lt;FONT face="courier new,courier"&gt;XlsxInv.Tabel1&lt;/FONT&gt; and in &lt;FONT face="courier new,courier"&gt;XlsxInv.Tabel2&lt;/FONT&gt;&amp;nbsp;numeric, regardless of whether the column headings in &lt;FONT face="courier new,courier"&gt;&amp;amp;Werkmap\Input.xlsx&lt;/FONT&gt; are in bold or not&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME XlsxInv XLSX "&amp;amp;Werkmap\Invoer.xlsx";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So working with the XLSX engine instead of the EXCEL engine is apparently also a possible option to avoid the problem.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many greetings from Brussels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Apr 2021 20:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/738274#M230258</guid>
      <dc:creator>Peter_Boonants</dc:creator>
      <dc:date>2021-04-30T20:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid converting a numeric column to a character variable with the LIBNAME EXCEL statemen</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/738287#M230266</link>
      <description>&lt;P&gt;Ok. So it sounds like your problem is with Microsoft software and not with SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 23:13:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-avoid-converting-a-numeric-column-to-a-character-variable/m-p/738287#M230266</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-04-30T23:13:20Z</dc:date>
    </item>
  </channel>
</rss>

