SAS Support Site Home | Samples and SAS Notes Home
SAS Notes V6-PRINT-F714
Saving SAS tabular output to import into MS Word or other word processor


To save tabular SAS output, such as output from proc freq or proc tabulate, as a text file, first save the contents of the SAS output window to a file by typing the following command in the SAS command box (make sure the output window is the active window):

      print file='c:\somedir\somefile.TXT'                                      
The command box is located at the top of the SAS window next to the check mark. Choose any drive letter, subdirectory, and filename but use the .TXT extension.

In MS Word, open the .TXT file and highlight the entire document by choosing Edit->Select All. Then change the font to 'SAS Monospace' font.


Products: BASE
Component: PRINT
Priority: N/A
Status: Usage Issue
Date: Fri, 19 Feb 1999

System Release Reported Release Fixed
Windows 3.11 6.12 TS020  
Windows NT 6.12 TS020  
Windows 95 6.12 TS020  

No Fixes Available