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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
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

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.

 

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
  • 4249 views
  • 0 likes
  • 5 in conversation