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;
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!
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.