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
SAS Super FREQ
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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 340 views
  • 0 likes
  • 2 in conversation