BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi all
Can I export to Excel starting from a specific cell, not from A1 lets say from C3.
Is that possible? If yes How?

and can I export HTML reports to excel or it is only a feature for data sets

Thanks.
3 REPLIES 3
deleted_user
Not applicable
Using the Libname engine it is certainly possible to define a range which includes the file, sheet and range values. Using the Microsoft Jet engine, which is EGs method of accessing Excel, I am not sure you can be quite as versatile.

However, when you are defining the Excel data source and have selected the file, it then prompts you for the sheet you require. If you define a "named range" within Excel, I believe it will populate with the sheet names in the data source definition process.

For help on named ranges, look up Excel Help, or go through the control bar for Insert / Name / Define.
deleted_user
Not applicable
I think you are talking about Importing Excel
I'm askin about Exporting to Excel.
deleted_user
Not applicable
No I'm not, the definition is very similar in both directions.

Try it and post any error messages here if it doesn't work.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 3 replies
  • 1197 views
  • 0 likes
  • 1 in conversation