writeData is aimed to handle sheets nicely, eg allowing to avoid
a quite identical call (eg parameters) to addWorksheet before