Is there a simple macro out there that exports output of a sas dataset to excel? Note: I am using SAS EG 4.3 so unable to use PROC EXPORT.
You should be able to use PROC EXPORT, unless you don't have a license for it, or you're on a server and can't proc export to your local drive which is what you're trying to do.
Regardless, there is a macro that may work for you, see code/paper here:
http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export
If it is the server issue, see this post:
http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/
You should be able to use PROC EXPORT, unless you don't have a license for it, or you're on a server and can't proc export to your local drive which is what you're trying to do.
Regardless, there is a macro that may work for you, see code/paper here:
http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export
If it is the server issue, see this post:
http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/
What do you want the Excel files? Are you trying to create some review output files? If so then I would first recommend using a report format - proc report to PDF or RTF for instance, although if they insist on Excel, then ods tagsets.excelxp (google for results).
If you are transferring data, then don't use Excel, it is not useful in any way as a data transfer format. Use Comma Separated Variable format.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.