BookmarkSubscribeRSS Feed
Ronein
Onyx | Level 15

Hello

I am working at my work with SAS enterprise guide 5.1

I am trying to work with ODS excel (to learn it).

When I run a code I get en error

 

ERROR: Unable to load module 'SpreadsheetML' from template store!
ERROR: No body file. EXCEL output will not be created.

 

Maybe This SAS version doesn't support ODS excel?

or maybe there is an error in the code?

 

 

ods excel file="/My path/example1.xlsx"
options(embedded_titles='yes'
embedded_footnotes='yes'
tab_color='purple' 
start_at='2,4');
title 'This title will appear in the worksheet';
footnote 'This footnote will appear in the worksheet';
proc report data=sashelp.class;run;
ods excel close;
2 REPLIES 2
SASKiwi
PROC Star

What SAS version are you using? ODS Excel was introduced in 9.4 TS1M3 I'm pretty sure.

 

In the EG Server List, right click on your SAS App server (called maybe SASApp), select Properties, then select the Software tab. This will tell you what version of SAS you are using.  

Jagadishkatam
Amethyst | Level 16

please use the below code to know the sas version

 

this will give the sas version in sas log.

 

proc setinit;
run;
Thanks,
Jag

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1671 views
  • 2 likes
  • 3 in conversation