If I try to save the data in xls / xlsx, I get several sheets in the book.
Your answer is in your question, do not use text / csv (which, of course, can not do several sheets, it can’t even make one sheet, there isn’t such a thing as a sheet in text / csv, although in some applications, like Excel or Calc, want to import them into a format that has sheets), but save it as xls, xlsx, ods or another format that has sheets.
Both XLSX and ODS are much more complex than text / csv, but perhaps the simplest of their respective sets of formats.
Jon hanna
source share