ODS and Base Reporting

Build reports by using ODS to create HTML, PDF, RTF, Excel, text reports and more!
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
aandrewn
Calcite | Level 5

Hi all, I know the ODS Excel destination allows for native .XLSX files, but is there a way to generate older .XLS files using ODS Excel?

 

I am working with an old system/application that only allows for XLS files.  I know there is proc export and other options to output as an .XLS however I need the functionality of ODS to get the formatted output I'm looking for.  Also I don't want to tagsets - I have a macro that uses DDE to open the .xml file and save it as a true .xls file, however this is not reliable in a batch environment.  Hoping there is an argument/parameter I'm not familiar with when using ODS Excel.

 

Thanks!

AA

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

I don't think you can do this and I doubt that SAS will spend any time developing something to produce an old (and proprietary) format.

View solution in original post

4 REPLIES 4
Tom
Super User Tom
Super User

I don't think you can do this and I doubt that SAS will spend any time developing something to produce an old (and proprietary) format.

aandrewn
Calcite | Level 5
Thanks Tom - I generally agree but was/am hoping there is something. Ideally our systems get upgraded but there doesn't seem to be an immediate interest in that either.
Reeza
Super User
Not besides PROC EXPORT unfortunately but I'm assuming you're using ODS EXCEL for some formatting/styling. But that also doesn't make a ton of sense if it's going into another application which implies a data feed...
Kurt_Bremser
Super User

ODS EXCEL can only create XLSX files. The XLS format is completely different, and needs (at least in the case of SAS) MS-supplied, Windows-only modules to create/access them.

Up to the introduction of ODS EXCEL, ODS TAGSETS.EXCELXP was the way to go.

 

An application that has not been maintained for decades (XLSX was introduced in 2007) may not be dead yet, but it sure smells funny.

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1257 views
  • 2 likes
  • 4 in conversation