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

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