Page 1 of 1

PROC Export / PROC Import

Posted: Tue Feb 21, 2017 4:53 pm
by codeflavour
Need to export a data set to excel (or another file type) using SAS? The following code will allow you to do just that:

Code: Select all

proc export 
  data=sas user.dataset 
  dbms=xlsx 
  outfile="c:\folder\example.xlsx" 
  replace;
run;