diff options
Diffstat (limited to 'src/formats/xlsx.c')
-rw-r--r-- | src/formats/xlsx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/formats/xlsx.c b/src/formats/xlsx.c index 2613e5b..3918b1a 100644 --- a/src/formats/xlsx.c +++ b/src/formats/xlsx.c @@ -727,6 +727,7 @@ int export_xlsx(char * filename) { add_char(formula, '=', 0); worksheet_write_formula(worksheet, row-1, col, formula, NULL); + worksheet_write_formula_num(worksheet, row-1, col, formula, NULL, (*pp)->v); // If a numeric value exists } else if ( (*pp)->flags & is_valid) { |