Can I pass an array into a Google App Script method from a Google Spreadsheet?
问题 Can I pass an array into a Google App Script method from a Google Spreadsheet? Suppose I have an App Script function that expects a list with two elements (note: this example is just an example so please do not tell me that my problem would be solved if I simply passed each element as a separate argument). How do I call this function from a Google Spreadsheet cell? I've tried both: '=myFunc([1,2])' and '=myFunc((1,2))' and both give me a Parse Error. 回答1: In a spreadsheet formula, you can