BookmarkSubscribeRSS Feed
THALLA_REDDY
Obsidian | Level 7

Hi Team,

 

I am using SAS Enterprise Guide 8.3 and will be querying data into multiple datasets. Now I want to export all the datasets into Single Excel file with multiple sheets.

 

Can anyone help me with this requirements ?

 

thanks in advance

Thalla

4 REPLIES 4
PeterClemmensen
Tourmaline | Level 20

How do you split the data into multiple data sets?

 

 

Ksharp
Super User
libname x xlsx 'c:\temp\x.xlsx';
proc copy in=work out=x;
select a b c d ;
run;
Sajid01
Meteorite | Level 14

Thanks @Ksharp for the simple and elegant example

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 4 replies
  • 2613 views
  • 1 like
  • 4 in conversation