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

Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
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)

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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