BookmarkSubscribeRSS Feed
SASAna
Quartz | Level 8

Hi SAS Team,

 

I am using ods tagsets.excelxp for Excel data reporting and the sheet has bigger cell sizes than the value. How to fix this?

 

ods tagsets.excelxp file="test.xls" style = minimal headtext="<style> td {mso-number-format:\@}</style>"
options(embedded_titles='yes' sheet_name="Summary");

 


ODS LISTING CLOSE;

 

proc report data = output_data ;
column _all_;
title;

run;

 

Thanks,

Ana

1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
You have several choices:
There is an absolute column width suboption, a default column width suboption and you can always use width= in a style override on the define statement.

There have been a lot of previous postings on altering cellwidth in the Forums. I'd recommend seaerching in the ODS and Reporting forum.
Cynthia

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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