SimpleExcel.php
[Pman.Core] / SimpleExcel.php
index f405e3c..6a67acb 100644 (file)
@@ -334,7 +334,7 @@ class Pman_Core_SimpleExcel extends Pman
                     $validator->_type = 3;
                     $validator->_incell=true;
 //                    $validator->setFormula1('a,b,c');
-                    $validator->setList('$event.$O$2:$O$12');
+                    $validator->setFormula1('$event.$O$2:$O$12');
 //                    $source = "Q2:Q10";
 //                    $this->_formula1 = pack("CCC", 0x17, strlen($source), 0x0c) . $source;
                     $this->worksheet->setValidation(2,1,2,1,$validator);