BookmarkSubscribeRSS Feed
Ronein
Meteorite | Level 14

Hello

I know how to use excel engine to export multiple SAS data sets into excel file that contain multiple sheets (one table in each sheet).

 

My question is how to export multiple sas data sets into only one excel sheet (tables will be one below other )

For example:

I want to export 2 sas data sets: SASHELP.CARS  and  SASHELP.CLASS

 into one excel Sheet called "raw_tables"  (Excel file name will be called "example")

 

 

 

2 REPLIES 2
Ronein
Meteorite | Level 14

My SAS version is 

26 %put I am using release: &sysvlong;
I am using release: 9.04.01M4P110916

 

Kurt_Bremser
Super User

This has already been asked by you several times now, and the answer is still the same: use ODS EXCEL.

 

https://communities.sas.com/t5/SAS-Programming/Proc-Export-Multiple-tables-to-same-sheet/m-p/607963 

 

“The definition of insanity is doing the same thing over and over again and expecting different results.”

(Albert Einstein)

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 462 views
  • 0 likes
  • 2 in conversation