BookmarkSubscribeRSS Feed
frisco
Calcite | Level 5
Hi, we have a request to modify a report (currently written using PROC PRINT) to have columns printed on the far left and far right of the page with blank spaces in between. Is there a way to accomplish this using templates? Currently using 9.1.3.
2 REPLIES 2
Robert_Bardos
Fluorite | Level 6
Crude workaround:

Referring to the subject of your post (which doesn't mention templates): use whatever variable you want and set the column's foreground and background to the same color.
Since you put the word blank in quotes this perfectly matches your definition 😉
ChrisNZ
Tourmaline | Level 20
Agree with Rob, something like
[pre]
data _V/view=_V;
retain DUMMY ' ';
set SASHELP.CLASS;
run;
ods html style=seaside;
proc print data=_V noobs;
var NAME ;
var DUMMY /style=[background=white foreground=white bordercolor=white cellwidth=900px];
var SEX /style=[just=center bordercolor=#3872AC];
run;
ods html close;

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
  • 2 replies
  • 952 views
  • 0 likes
  • 3 in conversation