Hello
I work with SAS enterprise guide 7.13
I am trying to write ods excel code and I get an error
ERROR: Unable to load module 'SpreadsheetML' from template store!
ERROR: No body file. EXCEL output will not be created.
ods excel file="/path/yourfilename.xlsx";
proc freq data=sashelp.class;
tables age;
run;
proc freq data=sashelp.class;
tables sex;
run;
ods excel close;
Which SAS version are you on? According to http://support.sas.com/kb/56/909.html, this needs at least 9.4 M1.
I have just tested your code in SAS Studio
It works.
The log is shown below :
ODS EXCEL is pre-production from SAS 9.4 M1/M2.
It is production as of M3, but still has some bugs. In M5, the version I work with, most bugs are gone and it works decently.
I suspect your version is too old. This will tell you your SAS version in the log.
proc product_status;run;
@Ronein wrote:
Hello
I work with SAS enterprise guide 7.13
I am trying to write ods excel code and I get an error
ERROR: Unable to load module 'SpreadsheetML' from template store!
ERROR: No body file. EXCEL output will not be created.ods excel file="/path/yourfilename.xlsx"; proc freq data=sashelp.class; tables age; run; proc freq data=sashelp.class; tables sex; run; ods excel close;
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!
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.
Ready to level-up your skills? Choose your own adventure.