BookmarkSubscribeRSS Feed
boey
Calcite | Level 5

If using "send to", i'm able to "send to excel" but how about export or export as a step in project?

6 REPLIES 6
dkb
Quartz | Level 8 dkb
Quartz | Level 8

You can export the report as HTML and then open the HTML file in Excel.

boey
Calcite | Level 5

any other way which i can write coding so that the output can be exported automatically once i run the project?

RW9
Diamond | Level 26 RW9
Diamond | Level 26

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;

Base SAS: Demo: ExcelXP Tagset and Microsoft Excel

ChrisHemedinger
Community Manager

ODS EXCEL (in SAS 9.4) is also an option:

http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets...

Chris

Become an Explorer! Join SAS Analytics Explorers to learn and complete challenges that earn rewards!
Kurt_Bremser
Super User

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)

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 6722 views
  • 0 likes
  • 5 in conversation