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

How to save data on next row I Sheets Scripts

$
0
0

I'm super new to macros and scripts so please bear with me.

Scenario:
I have some data on a spreadsheet where the function that I'd like to happen are the ff:

  • A save button (image), when clicked, saves the data from specific cells to a new sheet b. All the next data that will be saved should NOT overwrite the previous row's data (right now, the save button works but when I save it again with a different entry on the cell, the new value overwrites the previous value)
  • The next saved data should move down to the next available row
  • A clear button that when pressed, clears specific cells and then applies a default value into the cleared cells (i.e. Clear A2 and then put the number 100 once cleared)

Here's the link to my spreadsheet: https://docs.google.com/spreadsheets/d/1gdVFQ_JXW3SpPnw1Trx-J-9putO00jJ2vPc09KrdgzY/edit#gid=0

I hope my question made sense. Would really appreciate anyone's help!

P.S. If you could also explain how your suggested script works, that would be great! I'd love to be able to do this myself next time!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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