BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Has anyone had an issue with exporting to Excel and naming the worksheet.

In 9.1 we used the following code:
PROC EXPORT DATA= LIBNAME.CLIENT
OUTFILE= "/u99/sas/testexport.xls"
DBMS=XLS REPLACE;
SHEET="month list";

Enterprise guide doesn't seem to like the Sheet command
1 REPLY 1
ChrisHemedinger
Community Manager
The same code should be runnable from within Enterprise Guide.

But if you are looking to use the point-and-click method of exporting data to Excel from EG, then you are correct -- EG does not currently support an option to name the target sheet.

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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
  • 1 reply
  • 968 views
  • 0 likes
  • 2 in conversation