DATA Step, Macro, Functions and more

SAS output

Reply
Contributor
Posts: 61

SAS output

Hi,

How can I get SAS 9.4 output into MS Word and MS Excel?

Thanks

 

Respected Advisor
Posts: 4,927

Re: SAS output

Use ODS OUTPUT to create a dataset and then proc EXPORT to send it to a .XLSX or .RTF file.  You're welcome.

PG
Super User
Posts: 5,432

Re: SAS output

And also the Excel libname engine, and the Add-in for MS Office.
Data never sleeps
Super User
Posts: 3,256

Re: SAS output

In addition to @PGStats's methods you can also use the ODS EXCELXP tagset to send output to Excel.

Super Contributor
Posts: 394

Re: SAS output

You can use the ODS destination for Excel to put SAS output into an Excel 2010/2013 workbook. Similarly you can use the ODS RTF or ODS TAGSETS.RTF destination to create an RTF file that MS Word can read. The ODS User's Guide is here and there are many useful resources on http://support.sas.com.

Ask a Question
Discussion stats
  • 4 replies
  • 245 views
  • 0 likes
  • 5 in conversation