Hi, it looks like some of your statements got truncated or chopped off on the left-hand side? Can you repost the code? Just as an aside, on my system the name of the font is NOT TIMES_NEW_ROMAN -- if you specify a font that is not found, then the default Microsoft font is used. On my system, the name of the font is "Times New Roman" -- mixed case, with spaces. Is the name of the font on your system actually TIMES_NEW_ROMAN??? Also, you seem to be missing a semi-colon after your first %LET statement. cynthia You were also missing a CLASSLEV statement and a unit of measure after your CELLWIDTH (I don't think you mean 1.5 pixels). And, you needed a KEYWORD statement to apply style to the other values, like TOTAL, etc. Since you did not post your formats or any data, I ran this test with SASHELP.PRDSALE. This code worked for me. I used ODS MSOFFICE2K because Excel is notorious for NOT liking the type of style that is specified in "regular" ODS HTML (which creates HTML 4.0 tags), so I always use ODS MSOFFICE2K, which creates Microsoft "flavor" of HTML. %LET STY1=FONT_FACE="Times New Roman" FONT_SIZE=12PT FOREGROUND=BLACK just=left cellwidth=1.5in; %LET STY2= FONT_FACE="Times New Roman" FONT_SIZE=12PT FOREGROUND=MAROON just=left cellwidth=1.5in; ods _all_ close; ODS msoffice2k FILE='C:\temp\times_REPORT.XLS' style=sasweb; title1 f="Times New Roman" h=12pt bold "Interim Results for the SCTCS Academic Program Evaluation of the 2012-2013 Graduate Placement"; title2 f="Times New Roman" h=12pt bold "based on the Graduate Survey, National Clearing House, and SC Employment Data"; PROC TABULATE DATA=sashelp.prdsale MISSING STYLE=[&STY1] ; CLASS region country prodtype/style=[&STY1] ; CLASSLEV region country prodtype / style=[&STY1]; VAR actual predict /STYLE=[&STY1]; TABLE (country=' '*region=' '*prodtype=' ' ALL='TOTAL'*F=6.0)*[STYLE=[&STY1] ], (actual predict)*(sum mean max min )*[STYLE=[&STY2]]*F=6.0 ; KEYWORD ALL SUM MEAN MIN MAX / style=[&sty1]; RUN; ODS msoffice2k CLOSE;
... View more