Right at the beginning (when running the proc print data=...), it gives me the error:

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

By the way, I am using SAS EG 5.1.