Create a stylized RTF report. The first STYLE option specifies
that the background color
of the cell containing the number
of observations be changed to gray. The second STYLE option specifies that
the background color of the column heading for the variable Quantity be changed
to white. The third STYLE option specifies that the background color of the
column heading for the variable Cost be changed to blue and the font color
be changed to white. The fourth STYLE option specifies that the background
color of the column heading for the variable Sale_Type be changed to gray.
proc print data=exprev n='Number of observations for the month: ' noobs label style(N) = {background = gray}; var quantity / style(header) = [background = white]; var cost / style(header) = [background = blue foreground = white]; var price / style(header) = [background = gray]; by sale_type order_date; pageby order_date; label sale_type='Order Type' order_date='Order Date'; format price dollar7.2 cost dollar7.2; title 'Prices and Cost Grouped by Date and Order Type'; title2 '*prices in USD'; run;