Hi all, I used ExcelXP.sas to create a .xml in SAS 9.1.3. The program worked fine. But after upgraded to SAS9.3, I got this error: Warning: In Event: style_over_ride, Invalid Expression: eval $style_list[$cell_class] $style_list[$cell_class] + 1 in a nutshell, I want to do traffic lighting in compute block based on the value of variables : proc format ; value color 0='black', 1='yellow', 2='red'; value fntsyle 0='roman' 1='italic'; run; Dataset: Var1 Var2 Var3 grade 0 0 0 grade 2 1 0 grade 4 2 1 ODS tagsets.excelXP options (sheet_interval='bygroup' suppress_bylines='yes' frozen_headers='yes'); proc report nowindows; column var1 var2 var3 dummy; define var1/display; define var2/display noprint; define var3/display noprint; define dummy/computed noprint; compute dummy; call define ('var1', 'style', 'style=[background=' || put (var2, color.) || ' font_style=' || put (var3, fntstyle.) || ']' ); endcomp; run; quit;
... View more