https://developers.google.com/apps-script/reference/document/inline-image

https://stackoverflow.com/questions/20830086/correctly-insert-chart-from-google-sheet-into-document-using-google-apps-script

https://stackoverflow.com/questions/21239152/inserting-chart-images-from-spreadsheet-into-document-using-gas

thousands = 123, units = 456, and hundredths = 78 hundredths.

=> ‘E’ + thousands + ‘.’ + units + ‘,’ + hundredths

Obviously still a bit of a challenge there for you to separate out the original number, but you’ll probably find plenty on Stack Overflow.

If you do come up with code, do post it back on my website.

]]>I have a question related to the number / date format in the function FormatCell(value):

Function formatCell(value) {

var newValue = value;

if (newValue instanceof Date) {

newValue = Utilities.formatDate(

value,

Session.getScriptTimeZone(),

DATE_FORMAT);

} else if (typeof value === ‘number’) {

newValue = Math.ceil(value)

}

In case of a ‘number’ I would like to return format the number to a currency with two decimal places in the Dutch notation (e.g value = 123456.789 > newValue = €123.456,78). I have tried to get this working in various ways (e.g. Intl.NumberFormat), but I am too much of a novice at this point to crack the code. Any help would be greatly appreciated

Many thanks in advance,

Webko

Drop me a line if you would like me to employ me to develop a custom solution for you.

]]>I think the code is great, thank you very much for sharing it.

I need something very similar but the template should be a document spreadsheet because there are several values that are dependent including images of bar codes.

I am kindly asking you if you can help me?

another thing would be better instead of selecting the row, marking it with a check box in the first column.

regards ]]>