Changing PROC PRINT Table Cell Style Attributes

In addition to being able to control style attributes for PROC PRINT 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 VAR statement. However, because you only want to apply the style attributes to the variable PRICE, you need to create two VAR statements. The first VAR statement specifies the first two variables. The style attributes for these variables will not be changed. The second VAR statement specifies only the variable PRICE. At the end of the second VAR statement, add a slash (/) and then follow ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.