If using "send to", i'm able to "send to excel" but how about export or export as a step in project?
You can export the report as HTML and then open the HTML file in Excel.
Or you go the whole way and use ODS tagsets.excelxp to create a .xml file containing the report, which can be opened by excel.
any other way which i can write coding so that the output can be exported automatically once i run the project?
KurtBremser has provided the answer, ods tagsets.excelxp is the (well, one of the) the ods destinations to create Excel files. So in your script do:
ods tagsets.excelxp file="abc.xml";
proc report....;
...;
run;
ods tagsets.excelxp close;
ODS EXCEL (in SAS 9.4) is also an option:
Chris
Adding to what RW9 already stated, to help with further automation we would need to know specifics about your environment (single machine installation vs. client/server with Enterprise Guide, operating system of server, possible connections between server and client like Samba or Netware, and so on)
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.