BookmarkSubscribeRSS Feed
blueskyxyz
Lapis Lazuli | Level 10
***style;
title;
footnote;

ods rtf file="...\class.rtf" style=journal;
proc report data=sashelp.class;
	where age<=12;
	column name sex age height weight;

      compute before _page_ ;
		line "title1" ; 
      endcomp;

       compute after _page_ ;
		line "foot1"; 
      endcomp;

run;

title;
ods rtf close;

捕获.JPG

1 REPLY 1
Reeza
Super User

Use the STYLE options and some guess and testing shows this works: 

 

proc report data=sashelp.class 
style(lines) = [bordertopcolor=white borderbottomcolor=white];

Documentation reference with all the options for styling

 


@blueskyxyz wrote:
***style;
title;
footnote;

ods rtf file="...\class.rtf" style=journal;
proc report data=sashelp.class;
	where age<=12;
	column name sex age height weight;

      compute before _page_ ;
		line "title1" ; 
      endcomp;

       compute after _page_ ;
		line "foot1"; 
      endcomp;

run;

title;
ods rtf close;

捕获.JPG


 

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
  • 2171 views
  • 3 likes
  • 2 in conversation