October 2009
Beginner
636 pages
13h 35m
English
In addition to being able to control style attributes for PROC TABULATE column headings, you can also control style attributes for the cells under a particular heading. This example shows how to change the background color for the table cells with the dollar amounts.
You can do this by adding a STYLE= option to the PROC TABULATE statement. The following code changes the background color to a shade of gray (cxDDDDDD). The BACKGROUND= keyword in the PROC TABULATE statement affects the analysis cells, not the heading cells.
ODS HTML BODY='tabback.html' STYLE=sasweb; proc tabulate data=furniture STYLE=[BACKGROUND=cxDDDDDD]; class Type Material; var Price; table Type='Table Type'* Material='Construction', ...
Read now
Unlock full access