proc odstable data=aaa contents="hello world";justify=on just=l;
define header myheader1;
text "Use the CELLSTYLE-AS Statement to Customize Output";
style={color=red just=l};
end;
cellstyle _row_ = 1 && _col_ = 1 as {BackgroundColor=red },
_row_ = 1 && _col_ = 2 as {BackgroundColor=blue },
_row_ = 1 && _col_ = 3 as {BackgroundColor=green },
_datatype_ = "num" as {color=red},
_datatype_ = "char" as {color=blue};
run;
|