Thank you very much for the response. I didn't realize I hadn't pasted in all the code. It is below. We are using tagset 9.1.3, v1.28 8/29/2005 title1; title2; title3; footnote1; ods listing close; ods tagsets.ExcelXP file= "F:\sasdata\attachments\MH3_assigned_special_housing &SYSDATE..xls" style=Journal options(sheet_interval = 'none' sheet_name = 'MH3 SH Assignments' autofit_height = 'yes' suppress_bylines = 'yes' gridlines = 'yes' frozen_headers = '4' absolute_column_width = '6, 7, 15, 15, 6, 8, 7, 7, 4, 4, 4, 4, 8, 8, 15, 8'); proc report data=mh13 nowd style(REPORT)={cellpadding=5 background=#D0C7A8} style(COLUMN)={font_face=Arial font_size=1 background=white} style(HEADER)={font_face=Arial font_size=1 font_weight=bold foreground=black background=#EBE8DA}; column facility idno namel namef unitno cellno moveindt moveoutdt dsu asu imu bhu condition_code condition_type condition_description dd3need count; define facility / group 'Inst'; define idno / 'SID'; define namel / 'Last Name'; define namef / 'First Name'; define unitno / 'Unit'; define cellno / 'Cell'; define moveindt / 'In Date'; define moveoutdt / 'Out Date'; define dsu / 'DSU'; define asu / 'ASU'; define imu / 'IMU'; define bhu / 'BHU'; define condition_code / 'BHS Code'; define condition_type / 'BHS Type'; define condition_description / 'BHS Description'; define dd3need / 'DD3'; define count / 'Count' noprint; compute after facility / style=[font_face=Arial font_weight=bold font_size=1 foreground=black background=#DCD6BE]; line count.sum comma5. ' Inmate(s)'; line ' '; endcomp; compute after; line count.sum comma5. ' Inmate(s)'; endcomp; run; ods tagsets.ExcelXP close; ods listing;
... View more