Changed some range()  to enumerate() in ODS and XLSX writers