Skip to content
Discussion options

You must be logged in to vote

You have several problems. The most important, and the one generating the warning messages, is that your assignment to data[] returns a 2-dimensional array - index 0, the only one used, points to another array - and you need it to be 1-dimensional later, so you just want to use index 0. Additionally, you need to be using data_sheet, not getActiveSheet, in the loop which assigns data[], and you need to be using a separate variable for the input and output Spreadsheet objects. I believe the following will work for you. Note that you can get the code properly formatted by starting it with a line consisting of 3 backticks followed by space followed by php, and ending it with a line consisting…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by 1000camels
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants