hgz2373294 发表于 2019-4-3 08:59 
proc import datafile="stk.xls" dbms=xls out=stk replace;
getnames=yes;
range="mressstk$a1:f5";
感谢大佬,请问为什么如果没有a1:f5就会出现如下的错误:
Requested Range not found on Excel -> D:\stk.xls
Requested Input File Is Invalid
ERROR: Import unsuccessful. See SAS Log for details.