How to color Change for Negative Values in excel sheet Using delphi programming? -


using conditional format ?

oxl.formatconditions.add(xlcellvalue,xlgreater,0); oxl.formatconditions[1].font.color = clred; 

oxl.sheets['sheet_name'].range['a1:z1'].formatconditions.add(xlcellvalue,xlless,0); oxl.sheets['sheet_name'].range['a1:z1'].formatconditions[1].font.color := clred; 

range of a1:z1 negative values , change red colored...


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -