I created a dependant dropdown lists as shown here.
The problem is that the named ranges wont work with special characters like spaces, brackets, hyphen, etc (underscore works!) in MS Office but works fine in LibreOffice.
$objPHPExcel->addNamedRange(
new PHPExcel_NamedRange(
'New Zealand',
$objPHPExcel->getSheetByName('Worksheet 1'),
'A1:A2'
)
);
The name New Zealand has a space and it generates excel errors.
I need it working in Office as well.