use Win32::OLE::Const 'Microsoft Excel'; #### $rangeFormat->FormatConditions->Add({Type=>xlCellValue, Operator=>xlNotEqual, Formula1=>"=TRUE"})