Dear All,
Greetings!
I would like to know how to create a line below spanning header in rtf. I have tried this solution by Ksharp but that is creating a box which is not required.
Here is another way:
ods rtf file='c:\temp\temp.rtf' style=journal bodytitle;
proc report data=sashelp.class nowd style={outputwidth=80%};
column name age ("(*ESC*)R'\brdrb\brdrs\brdrw15'Span Header" weight height) ;
define name/display ;
define age/display;
run;
ods rtf close;
Here is another way:
ods rtf file='c:\temp\temp.rtf' style=journal bodytitle;
proc report data=sashelp.class nowd style={outputwidth=80%};
column name age ("(*ESC*)R'\brdrb\brdrs\brdrw15'Span Header" weight height) ;
define name/display ;
define age/display;
run;
ods rtf close;
@Ksharp , Thank you very much! Yes, this other one worked very well. Many thanks once again!
Thank you.
- Dr. Abhijeet Safai
Of course. My original code is also worked.
If that doesn't work, post your code and data .
ods rtf file='c:\temp\temp.rtf' style=journal bodytitle;
proc report data=sashelp.class nowd style={outputwidth=80%};
column name age ('(*ESC*)S={borderbottomwidth=2 borderbottomcolor=black}Span Header' weight height) ;
define name/display ;
define age/display;
run;
ods rtf close;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.