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;
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.
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.