Hi LinLIn, Unfortunately I cannot make your code running in a way I want. For some reason sas insert sas data not in the range I specified in excel file. I named a selected range in the excel file as table1 ($C$4:$E$7)and use this as a reference in the data step in sas. It does not work. The sas data are placed in the range $A$1:$C$4 instead of where I want it. Any ideas why is that? Here is my sas code: libname myxls '..path..\My work book.xls'; data myxls.table1; set FreqCount; run; libname myxls clear; Thank you!
... View more