BookmarkSubscribeRSS Feed
Phil
Calcite | Level 5
After an XML file is saved using the ExcelXP tagset, can you automate saving the output file as .XLS? Has anyone done this - maybe like calling a "File Save As" screen?
1 REPLY 1
OS2Rules
Obsidian | Level 7
I use the ExcelXP tagset to create a large number of spreadsheets and they are all created with a .XLS extension.

There is no reason that you can't name the file anything you want - I name my files using macro variables:

ods tagsets.ExcelXP path="&path" body="&body" style=minimal;

where the "&body" resolves to "sheetname.xls"

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