BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I'm trying to get a larger column in PROC REPORT like this, using style override with CELLWIDTH:

DEFINE formula /GROUP FORMAT =$formula. "Sales (x 1.000 E)" STYLE(COLUMN)={JUST=CENTER CELLWIDTH=400px};

In the HTML output this generates it doesn't seem to have effect.

Can anyone help me on this?

Cheers,

Gahan
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
I tried this using ODS HTML in SAS 9.1.3 and the 400px did work for me. If you need a quick resolution to this issue, Tech Support may be your best bet.
cynthia
[pre]
ods html file='c:\temp\cw.html';
proc report data=sashelp.class nowd;
column name age height;
define age /display
style(column)={just=center cellwidth=400px};
run;
ods html close;
[/pre]

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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