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

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

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
  • 6258 views
  • 0 likes
  • 7 in conversation