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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 936 views
  • 0 likes
  • 5 in conversation