BookmarkSubscribeRSS Feed
ninachang
Calcite | Level 5
I am using the tagsets.excelXP with the style set to minimal to output
to an excel file. The code works for over a year without any problem
until this month.

If I use a different style, such as Statistical, excel opens the file
with no problems. Here is my ods settup.

FILENAME F1 "c:\temp\haha.xls" ;

ods tagsets.excelxp file=f1 style=minimal
options(
embedded_titles='no'
embedded_footnotes='no'
frozen_headers='yes'
frozen_rowheader ='1'
Autofit_height='yes'
)
RS = NONE ;

PROC PRINT DATA=sashelp.class;
run;
ods tagsets.excelxp close;
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi,
I would recommend that you check the version of TAGSETS.EXCELXP that you are using. There used to be an issue with the MINIMAL style in earlier versions of SAS and ODS but I have not seen this problem since I've been running SAS 9.2-- if you look in the SAS log the version info should be there.

If you are running SAS9.2 and having this issue, I would recommend working with Tech Support.

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