Greetings all,
I have a custom menu on a Sheet, made by Apps Script, that includes an option to bring up a sidebar and input data. That data is, upon submission, supposed to paste onto one sheet in the spreadsheet and then copy over to another sheet (both are called up in the Apps Script by their name).
When I originally made the Script (kudos to a member of this Community with providing me with a sample), it worked perfectly. Now, though, when I submit the data in the sidebar, it copies over to the second sheet immediately, but it only registers in the first sheet when I submit another form in the sidebar.
For example:
My first sheet is a list of customers and their phone numbers. My second sheet is a list of the customers' names and their order. The names automatically pull from the first sheet (upon sidebar submission) and the orders I put in manually.
Now, I open the sidebar and input that Clayton Bowers
(917-416-9708) placed an order. Nothing happens on the first sheet. On the second sheet, I see Clayton's name. A few minutes later, I submit the sidebar again with James Crosby
(347-778-2114). James comes up on the second sheet and Clayton now appears on the first sheet. (It goes without saying that James does not appear on the first sheet now; we need to wait for another order before he appears.)
Any ideas of why this is happening?
Thanks!