问题
I'm looking for a way to export a spreadsheet (from MS Excel or LibreOffice Calc) without evaluating formulas so the formulas are stored in the CSV. I know, for example, I could convert formulas to text in MS Excel prior to export, but don't want to modify the formulas. It appears the default behavior for CSV export in MS Excel loses the formulas if they're not displayed as text.
回答1:
First, select the tab with the formulas, then hold "Ctrl" + "~" (the tilde character), then do a File, Save As, and choose .csv.
I tried this and opened the file up in notepad, and the formulas were intact.
来源:https://stackoverflow.com/questions/36944201/how-to-export-spreadsheet-to-csv-without-evaluating-formulas