1

ここでは、強調表示された「すべて」の行の TagAttr が失われています。私が望むのは、合計行を強調表示し、出力で TagAttr を維持することです。

ods tagsets.excelxp
file= "c:\Sheet1.xml"

proc tabulate data=sashelp.class missing;
class sex age;
var height;
table (sex='' all='Total')*
(age=''
all={label='Total NCO' s={background=yellow font_weight=bold}} *{s={font_weight=bold background=yellow }}),
(height='Height'*mean=' ' *[s=[tagattr='#,##0;[Red](#,##0);"-"']]
height='%height'*pctsum=''*[s=[tagattr='0.00%;[Red]0.00%;"-";"-"']])

/ box=_page_ style_precedence=row;
run;
ods tagsets.excelxp close;
4

0 に答える 0