I am trying to import excel workbooks from a SharePoint folder using the Import Data option in SAS EG. It has worked for several other files, but for 3 in particular I am getting the following error:
SAS Enterprise Guide has encountered a problem
We recommend that you save your work and restart SAS Enterprise Guide.
Object reference not set to an instance of an object.
Also, I did restart SAS EG and the error is still occurring for those 3 files.
Can you give an example of the type of path you're providing to the Import Data task? Is this an on-premise SharePoint with a mapped drive or \\network\path style of path?
Chris
"C:\Users\XXXX\XXXX\SharePoint Folder\Filename.xlsm"
Are you using 64-bit SAS Enterprise Guide? If so, you might need the 64-bit version of the Microsoft data access tools. The components that EG uses to read these proprietary XLSM files are basically part of the operating system, but the bitness (32-bit or 64-bit) usually matches that of the Microsoft Office you have installed. If using 32-bit Office and 64-bit EG, this presents an incompatibility problem.
Or, if possible, get a version of the Excel file that isn't macro-enabled (XLSM), like XLSX. EG can read those directly.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.