http://www.perlmonks.org?node_id=419482


in reply to Re^2: Spreadsheet::WriteExcel: How to change order of worksheets?
in thread Spreadsheet::WriteExcel: How to change order of worksheets?


Perhaps it would be easier to sort your data alphabetically before creating the worksheets.

This is the method that I would suggest as well.

Although it would be possible to do a behind the scenes reordering of the worksheets it wouldn't be clean and it would invalidate any formulas that referred to other worksheets.

--
John.