Pasting cell values to next row in another sheet with a button

51 views
Skip to first unread message

Jordan Robbins

unread,
Sep 23, 2023, 10:09:59 PMSep 23
to Google Apps Script Community
Hello! I am trying to use a button to click and it will copy from specific cells and paste those values into another sheet. But I need it to paste to the next row each time I enter new values and click the button. hope that makes sense. lol

Keith Andersen

unread,
Sep 24, 2023, 1:09:29 PMSep 24
to google-apps-sc...@googlegroups.com
Do you need a specific row moved to another sheet or do you need to select a row or rows to move to a different sheet?



On Sat, Sep 23, 2023, 9:10 PM Jordan Robbins <jrob...@jrhomesecurity.com> wrote:
Hello! I am trying to use a button to click and it will copy from specific cells and paste those values into another sheet. But I need it to paste to the next row each time I enter new values and click the button. hope that makes sense. lol

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/7291e98f-074a-4dc5-b193-465dfd919c21n%40googlegroups.com.

Jordan Robbins

unread,
Sep 26, 2023, 7:11:25 PMSep 26
to google-apps-sc...@googlegroups.com
I have about 4 or 5 cells in a column that I want the values I type in them to auto populate in a row in sheet 2 when I click the button and go to the next row and do it again when I type different info in sheet 1 cells and click the button again.



CBMServices Web

unread,
Sep 26, 2023, 8:59:44 PMSep 26
to google-apps-sc...@googlegroups.com
Why don't you create a sample spreadsheet with what you want done and share it with us so we can see what you need.

Also share what script you put together so we can give you pointers on where to proceed.

Keith Andersen

unread,
Sep 26, 2023, 9:06:54 PMSep 26
to google-apps-sc...@googlegroups.com
Jordan,
Watch this video and make a copy of the spreadsheet to make it your own so that you can be the sole editor of it. It contains all the coding you will need. If you have problems let us know.

Keith 


Jordan Robbins

unread,
Sep 30, 2023, 1:55:56 PMSep 30
to Google Apps Script Community
Here is a sample sheet. I want to fill in info on sheet 1 and click the submit button and auto populate next row on sheet 2 each time.

Keith Andersen

unread,
Sep 30, 2023, 5:31:22 PMSep 30
to google-apps-sc...@googlegroups.com
Open this sheet then make a copy. That will make you the owner and give full editor access. Obviously you will need to go through the permissions process.

This sheet directly answers your question and contains two additional functions that show how to select a data row and move that data to either the top row or bottom row. of another sheet.

Hope it serves your needs.

cheers
Keith,

Jordan Robbins

unread,
Sep 30, 2023, 5:34:46 PMSep 30
to google-apps-sc...@googlegroups.com

Keith Andersen

unread,
Sep 30, 2023, 5:36:40 PMSep 30
to google-apps-sc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages