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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 909 views
  • 0 likes
  • 5 in conversation