BookmarkSubscribeRSS Feed
luca87
Obsidian | Level 7

Hello,
I wanted to export a SAS table to xlsx and define it inside a table.
In xlsx it would be defined here:

Immagine 2023-09-01 161737.png


Thanks

Luca

3 REPLIES 3
Tom
Super User Tom
Super User

Not sure what you are asking for.

 

You can export a dataset to SHEET in an XLSX workbook.  Either adding or replacing a sheet in an existing workbook, or creating a new workbook.

 

You can also create a sheet in an XLS workbook but why would anyone use that ancient proprietary format instead of the modern public format of an XLSS workbook.

 

 

Sajid01
Meteorite | Level 14

This feature of creating Excel table is not available in SAS .
One can export a SAS table to an excel sheet or range, but cannot create excel table using SAS code.

martrix396
Calcite | Level 5

You can use ODS Excel to output SAS dataset in xlsx format. You can add multiple sheets and also add more than 1 SAS dataset to 1 sheet.

 

If you don't need to add multiple tables to 1 sheet PROC Export can also be used.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 167 views
  • 0 likes
  • 4 in conversation