diff options
-rw-r--r-- | src/formats/xlsx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formats/xlsx.c b/src/formats/xlsx.c index 227489a..b8b5dff 100644 --- a/src/formats/xlsx.c +++ b/src/formats/xlsx.c @@ -576,7 +576,7 @@ int export_xlsx(char * filename) { struct sheet * sh = roman->first_sh; while (sh != NULL) { - lxw_worksheet * worksheet = workbook_add_worksheet(workbook, NULL); + lxw_worksheet * worksheet = workbook_add_worksheet(workbook, sh->name); int bkp_currow = sh->currow; sh->currow = 0; insert_row(sh, 0); //add a row so that scim formulas apply to excel |