SimpleExcel.php
[Pman.Core] / SimpleExcel.php
index 36d393e..ee80251 100644 (file)
@@ -333,11 +333,11 @@ class Pman_Core_SimpleExcel extends Pman
                     $validator->_fixedList = 1;
                     $validator->_type = 3;
                     $validator->_incell=true;
-                    $validator->setFormula1('=A9:A11');
+                    $validator->setFormula1('H10');
                     
 //                    $validator->setList('Q2:Q10');
                     
-                    $this->worksheet->setValidation(2,1,2,1,$validator);
+                    $this->worksheet->setValidation(2,1,0,0,$validator);
                     $this->worksheet->_storeDataValidity();
                     $this->start_row++;