BookmarkSubscribeRSS Feed
Tom
Super User Tom
Super User
You should also ask yourself (or your company) why you are still using a version of SAS that was last updated 7 years ago?
https://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-so...
saikiran_nemani
Obsidian | Level 7
ODS LISTING;

ODS TAGSETS.EXCELXP FILE='/SAS/SAI/REPEAT_SUMMARY.XLS'

ODS TAGSETS.EXCELXP CLOSE;

Reeza
Super User

The extension must be xml., Excel will still open the file, though it may not be the default application.

 

ODS TAGSETS.EXCELXP FILE='/SAS/SAI/REPEAT_SUMMARY.XML'

@saikiran_nemani wrote:
ODS LISTING;

ODS TAGSETS.EXCELXP FILE='/SAS/SAI/REPEAT_SUMMARY.XLS'

ODS TAGSETS.EXCELXP CLOSE;


 

Cynthia_sas
Diamond | Level 26

If you persist in using .XLS as the file extension for TAGSETS.EXCELXP steps, you will continue to get the Microsoft warning. This is a MICROSOFT requirement that the file extension match the contents of the file.

Again, the correct file extension to use with TAGSETS.EXCELXP is .XML -- NOT .XLS because TAGSETS.EXCELXP is creating Spreadsheet Markup Language XML and Microsoft wants the output file to have the correct extension. Otherwise, change the registry, as I explained earlier based on the Tech Support note.

Cynthia

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

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
  • 20 replies
  • 6025 views
  • 0 likes
  • 7 in conversation