|
Paul,
Wouldn't using a monospace font, like courier, do what you want? E.g.,
data test;
passfail =
'^S={font_face=courier}Pass ^S={font_face=wingdings}o'||
'^S={font_face=courier}^-2n'||'Fail ^S={font_face=wingdings}o';
run;
ods escapechar = '^';
ods listing close;
ods msoffice2k file='K:\art\test.doc' style=minimal;
proc report data=test nowindows split='|' style(report)={font_size=10pt};
column passfail;
define passfail / display 'Pass/Fail' style(header) =
[just=center] style(column) = [just=center cellwidth=1in];
run;
ods msoffice2k close;
ods listing;
HTH,
Art
--------
On Tue, 8 Sep 2009 16:05:11 -0700, Paul Miller <pjmiller_57@YAHOO.COM>
wrote:
>Hello Everyone,
>�
>I want to create a table column using Proc Report that will have a�pair of
check boxes on 2 separate lines within each row. The code below produces a
check box�for 'Pass' and a check box for 'Fail' in a single test row. The
only thing is that I can't figure out how to get the 2 text boxes to align.
Ideally, I'd like to get the 'P' in 'Pass' and the 'F' in 'Fail' to align as
well.�
>�
>Does anyone know of a way I can do that?
>�
>Thanks,
>�
>Paul
>�
>data test;
>passfail = 'Pass ^S={font_face=wingdings}o'||'^S={font_face=normal}^-
2n'||'Fail ^S={font_face=wingdings}o';
>run;
>�
>ods escapechar = '^';
>ods listing close;
>ods msoffice2k file='test.doc' style=minimal;
>�
>proc report data=test nowindows split='|' style(report)={font_size=10pt};
>column passfail;
>define passfail / display 'Pass/Fail' style(header) = [just=center]
style(column) = [just=center cellwidth=1in];
>run;
>�
>ods msoffice2k close;
>ods listing;
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
|