multi-sheet output for # records > 65536