Hi All,
I want two different title in same line. one is left align and one is right align for ODS RTF output.
Can any one help me to resolve this.
I have tried options(print_header) and also like
title j=left "Left align" j=right "Right align";
So if you run the below code, the output does not not look like the attached output?
ods noresults;
ods rtf file="s:temp\rob\test.rtf" style=statistical;
title1 j=l "Left" j=r "Right";
proc report data=sashelp.cars nowd;
column make;
run;
ods _all_ close;
What you have should work -
title1 j=l "Left" j=r "Right";
Thank you for you answer.
I have tried this one but it is showing correct result in HTML not in RTF.
So if you run the below code, the output does not not look like the attached output?
ods noresults;
ods rtf file="s:temp\rob\test.rtf" style=statistical;
title1 j=l "Left" j=r "Right";
proc report data=sashelp.cars nowd;
column make;
run;
ods _all_ close;
It is working.
Thank you very much.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.