Thank you for the suggestions guys, I made some progress but havn't gotten all the way there, two issues holding me up Proc Export doesnt seem be able to use pre-defined named ranges (it just creates a new sheet in the workbook) - I used the guide here - http://support.sas.com/kb/20/923.html and this code proc export data=yourdata2_&i
file=output
dbms=xlsx replace;
sheet='SAS_RANGE';
run; Second issue, fcopy doesn't seem to want to create a new file, the docs seem to imply there needs to be an existing destination file? (I also had trouble getting it to run at all inside the macro)
... View more