BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Mushy
Quartz | Level 8

Hello,

 

Is there a way to import and export xlsm(macro enables) workbooks without the pc server?

 

Thanks,

Mushy

1 ACCEPTED SOLUTION
5 REPLIES 5
Sajid01
Meteorite | Level 14

Hello @Mushy 
If the intention of the import is to get data, then disable the macros and save it as xlsx.
Then it should be possible to get the data into SAS.

SASKiwi
PROC Star

If your SAS installation runs on Windows then the EXCEL engine (which uses MS Office components) should be able to read XLSM workbooks. This won't work for non-Windows SAS as the EXCEL engine isn't available.

Reeza
Super User
I haven't tested this in a while, but I would try writing to an XLSM file using the LIBNAME XLSX and see what happens.

Ultimately it depends on what exactly you're trying to accomplish here.
Ksharp
Super User
You could import xlsm file by
proc import + dbms=xlsx or excel
But You are unable to export xlsm file I guess.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 674 views
  • 5 likes
  • 6 in conversation