1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
ods listing close ;
ODS TAGSETS.EXCELXP FILE = "&path2.\test.xls" style= journal
OPTIONS ( AUTOFILTER="none" frozen_headers="no"
autofit_height="yes" pages_fitwidth = "1"
embedded_titles="YES" embedded_footnotes="YES"
Embed_Titles_Once= 'No' gridlines='no'
Merge_Titles_Footnotes= 'yes'
) ;
title ;
ods tagsets.excelxp options ( sheet_name="test"
row_heights='0,0,0,0,20,22,0'
Skip_Space= '0,0,1,1,1'
sheet_interval="none"
pages_fitheight = '100'
orientation='portrait'
zoom='100'
absolute_column_width='20,5,5,5,5,5,5,5,5,5,5,5,5,5' ) ;
title %STR(font='Calibri' h=12pt color=DarkBlue bold bcolor=white )
"Tableau : données test de la table classfit, bibliothèque sashelp" ;
proc tabulate DATA=sashelp.classfit ORDER=DATA
style =[background=white font_face='Arial narrow' font_size=10pt font_weight=bold] ;
class name age ;
classlev age / style=[font_size = 10pt font_face = "Arial narrow" font_weight = bold just = center
borderrightwidth = 0 borderleftwidth = 0 borderbottomwidth = 2 bordertopwidth = 0 ] ;
classlev name / style=[font_size = 10pt font_face = "Arial narrow" font_weight = bold just = LEFT
borderrightwidth = 2 borderleftwidth = 0 borderbottomwidth = 0 bordertopwidth = 0 ] ;
TABLE name='' ,
(age="Distribution de la taille (en cm) pour chaque personne de la table selon l'âge" )
*(height=' '*[s=[font_size = 10pt font_face = "Arial narrow" tagattr='format:# ##0.00' just = center
borderrightwidth = 0 borderleftwidth = 0 borderbottomwidth = 0 bordertopwidth = 0 ]])
/ box={label="Prénom"
style=[font_size = 10pt font_face = "Arial narrow" font_weight = bold just = center
borderrightwidth = 2 borderleftwidth = 0 borderbottomwidth = 2 bordertopwidth = 0 ] } ;
var height ;
keylabel sum=' ';
run;
ods tagsets.excelxp close ; |