/*
You could remove the last blank row by format $varying.
Like this:
*/
ods rtf file='c:\temp\temp.rtf';
proc report data=sashelp.class nowd;
define name/display;
define age/group;
compute before age;
n+1;
if n=1 then len=0;
else len=20;
x=' ';
line x $varying20. len;
endcomp;
run;
ods rtf close;
... View more
Aaaaaah thank you, yes, I feel silly now. I've picked up this program from someone else, indeed changing the # into something else solved the issue. Much appreciated!
... View more