This statement opens the ODS destination for Excel and must precede SAS code that creates report output. Review Using the SAS Output Delivery System and Demo: Exporting Results to Excel.