|
proc report data=z nowd;
column _all_;
define Age/computed display "年龄" style=[just=left tagattr='text'];
define weight/computed display "体重" style=[just=left tagattr='text'];
compute weight;
if Age ne . and sex eq "男" then do;
flyover1 = "Newly Added";
call define(_col_, 'style', "style=[background=LIGHTYELLOW flyover='" ||strip(flyover1)|| "']");
end;
if Age ne . and sex eq "女" and weight gt 100 then do;
flyover2 = "Over weight";
call define(_col_, 'style', "style=[background=LIGHTRED flyover='" ||strip(flyover2)|| "']");
end;
endcomp;
run;
代码是有了 但是这个flyover确实不是批注,也不是注释,在excel里面无法编辑,不知道有没有大神知道?
|