Move Row Between Sections Automatically in Google Sheets - Google Apps Script Tutorial [SheetsNinja]
HTML-код
- Опубликовано: 18 сен 2024
- Ever needed to move a row of data to a different section on the same tab automatically? Look no further than this simple tutorial!
Make a copy of this Google Sheet to try for yourself: bit.ly/3zaRM2Q
Is there a way to have one selection move in the same sheet and another move to a separate tab?
nice share..thanks
Thank you! Cheers!
Hello, I found this video and it helps me a lot. But I have a question about it. If I want to keep the data of the first column (where you can set prospects or leads etc.) and not delete it, how should I change the code to do that? It is possible to keep this data without problems? Thank you
All you have to do is remove the line in the code that goes like this:
data[0][0] = '';
Is there a way to keep hyperlinked text active when you move it from one section to another?
Yes, you have to do .getRichTextValues() and .setRichTextValues() to copy hyperlinked text. It can be a little more complicated to layer that in with the .getValues() and .setValues(), which is why I didn't cover it in this video.
innnnnnsane
Awesome, hope this was helpful for you!
Could you do one exactly like that but for checkboxes
So are you talking about having multiple columns for check boxes for different sections, or would you just have two sections and have the checkbox move it to the 2nd section?
@@SheetsNinja Yes so it would be moving one row to a different section on the same sheet once selecting the checkbox, the move would only be a couple of rows below origin