09-21-2012 03:30 PM
I have a excel file with one column,
I want to import it into SAS and get an character variable,I attached the excel file.
My problem is : if I opended the excel file then run the SAS code, the variable will be like 0.745 for the first obs ,but if I close the excel file then run the SAS code ,the value of the first obs will be changed to 74.5%.
Could anyone help me point out the reason of the problem?
05-01-2013 02:39 PM
If you do want this variable to be a character variable you can use the following option within your PROC IMPORT:
When running this you may also want to change the MIXED option from YES to NO.
05-01-2013 10:14 PM
Interesting , If you use another engine XLS ,you will different result: