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)
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.