BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Travis
Calcite | Level 5

Hi All-

I'm trying to read an input file via the Import Wizard, but I am receiving the below error on Step 3 of 4, "Define Field Attributes":

error.JPG

The input file is a macro-enabled excel worksheet (.xlsm). I confirmed that the file is not open and not in use, and when I tried the import on another person's machine, I did not receive this error.

Does anyone know what the source of this error might be?

Thanks so much!

Travis

1 ACCEPTED SOLUTION

Accepted Solutions
sas4ml
Fluorite | Level 6

Hi, Not sure if your issue has been resolved. You may have compatibility issues meaning if SAS is 64 bit and the Office that you are running is 32 bit. I know in such a situation you normally receive "Class not registered" or Excel engine not found" messages.

Try checking the Excel version and if different from SAS version try Installing 64 bit Office 2010 to match your version of SAS .

Try the following links in the order given

http://www.office.com/office64setup

Or

The following links involve more steps using PC Server Files with Import Wizard

http://support.sas.com/kb/44197

Or

Iinstalling a SAS PC File server which provides a bridge between 32 bit Office and 64 bit SAS.

http://support.sas.com/kb/43802

View solution in original post

4 REPLIES 4
Aurimas
Calcite | Level 5

Hi, maybe you don't have permissions to reade/write this file. Try to change permissions.

sas4ml
Fluorite | Level 6

Hi, Not sure if your issue has been resolved. You may have compatibility issues meaning if SAS is 64 bit and the Office that you are running is 32 bit. I know in such a situation you normally receive "Class not registered" or Excel engine not found" messages.

Try checking the Excel version and if different from SAS version try Installing 64 bit Office 2010 to match your version of SAS .

Try the following links in the order given

http://www.office.com/office64setup

Or

The following links involve more steps using PC Server Files with Import Wizard

http://support.sas.com/kb/44197

Or

Iinstalling a SAS PC File server which provides a bridge between 32 bit Office and 64 bit SAS.

http://support.sas.com/kb/43802

Travis
Calcite | Level 5

Sas4ml,

Thanks so much for the info, the error was due to compatibility issues between Office and SAS.

I was able to use the bridge as a temporary solution, and am in the process of upgrading Office to match my version of SAS.

Many thanks for the help!

ajuhack
Fluorite | Level 6

Use this command for importing excel in SAS

libname test Pcfiles  Path="Physical location ";

It will resolve all problem and easily connect the excel file .

the easiest way .

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
  • 2589 views
  • 1 like
  • 4 in conversation