SAS proc导入xlsm文件

SAS proc导入xlsm文件,sas,Sas,我想为xlsm数据执行proc导入 proc import out = outdata datafile = "C:\User\Desktop\data.xlsm" dbms = excelcs replace; sheet = "SheetA"; run; 错误消息是: ERROR: CLI error trying to establish connection: [Microsoft][ODBC Excel Driver]General error

我想为xlsm数据执行proc导入

proc import
    out = outdata
    datafile = "C:\User\Desktop\data.xlsm"  
    dbms = excelcs replace;
    sheet = "SheetA";
run;
错误消息是:

ERROR: CLI error trying to establish connection: [Microsoft][ODBC Excel Driver]General error
       Unable to open registry key Temporary (volatile) Ace DSN for process 0x4058 Thread 0x3dc0
       DBC 0x2c1780c                                                            Excel'.
ERROR: Error in the LIBNAME statement
当我使用dmbs=excel时;我收到以下错误消息:

ERROR: Connect: Class not registered
ERROR: Error in the LIBNAME statement.

我认为它应该与64位系统下的PC文件服务器有关。一个快速解决方案(我通常使用)是首先以.csv格式保存.xlsm文件,然后进行SAS导入

需要更多的信息。您是否有权访问许可的PC文件?你有PC文件服务器吗?64位还是32位SAS?64位还是32位Excel/Office?