Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9843

Write both values and formulas at once in Google Apps Script

$
0
0

The row in my spreadsheet has format

<value>, <formula>, <value>, <formula>, ...

I need to update this row. Indeed, I can't use range.setFormulas, because it has values and I can't use range.setValues, because it has formulas. The only way I found - to set by one value, but this is very expensive if I have a lot of cols in my sheet.

Is there any way to set both formulas and values in one network request?

PS. To set value via setFormula('"' + str + '"') is not very good idea


Viewing all articles
Browse latest Browse all 9843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>