BookmarkSubscribeRSS Feed
wajmsu
Obsidian | Level 7

Hi,

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

Thanks

 

4 REPLIES 4
PGStats
Opal | Level 21

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

PG
LinusH
Tourmaline | Level 20
And also the Excel libname engine, and the Add-in for MS Office.
Data never sleeps
SASKiwi
PROC Star

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

Tim_SAS
Barite | Level 11

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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4 replies
  • 1627 views
  • 0 likes
  • 5 in conversation