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)
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.