BookmarkSubscribeRSS Feed
jiashenke
Calcite | Level 5

SAS Server Server Server Server Operating System (Windows 2012)

SASServer software

SASEG Client Operating System (Windows 10)

SASEG software

Office 2013 or Office 2016

Access Database Engine (Excel ODBC Driver)

 

 

 

The following statement can be used to import Excel files into SAS, which is completely imported without parameters.

 

libname DDTWB XLSX "\\192.168.10.211\SASDocs\Test\HTST00003\Docs\SP\SDTM\HPR SP-001-T04-I Data Mapping Tool_HTST00003.xlsx" ;

Figure 1

 

 

The following statement can be used to import Excel file into SAS, then show Class not Registered, which calls Access Database Engine, the driver of Excel ODBC.

libname DDTWB EXECL“\\192.168.10.211\SASDocs\Test\HTST00003\Docs\SP\SDTM\HPR SP-001-T04-I Data Mapping Tool_HTST00003.xlsx" mixed=yes dbmax_text=23767 header=no;

Figure 2

4 REPLIES 4
jiashenke
Calcite | Level 5
Thank you very much!I'll collect it and send it to you later.
SASKiwi
PROC Star

Your class not registered error is most likely due to 64-SAS trying to communicate with 32-bit MS Office. This can be solved by downloading the MS Office 64-bit JET engine from the Microsoft website.

 

Why do you need to use the EXCEL engine when the XLSX engine successfully assigns?

 

 

jiashenke
Calcite | Level 5
Thank you! I'll test it later.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1569 views
  • 0 likes
  • 3 in conversation