node-google-spreadsheet icon indicating copy to clipboard operation
node-google-spreadsheet copied to clipboard

Save a formula or any string which starts with `"="` as a string using the cells-based interface

Open miron1512 opened this issue 11 months ago • 1 comments

Hi @theoephraim, There is currently no way to save a formula or any string which starts with "=" as a string using the cells-based interface. I think that if we explicitly use cell.stringValue, we already know that we want to save the value as string, regardless of whether it's a formula or any string which starts with "=". So, we don't need to throw an error here:

image

I created a small PR to fix this: #643

miron1512 avatar Aug 01 '23 16:08 miron1512