I would like that every time I add one or more rows in areas where column A contains the cell with the “Date e ricevute” string, the added rows automatically have the aforementioned string in their column A cells.
I have created this sample spreadsheet:
Thanks
Bye

--
You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/J2PHg-Ha7p8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/a17327ca-cb35-4ac4-af0e-ac6a0785b0fan%40googlegroups.com.
Now the script works, and I've learned something new thanks to you.
To conclude, in the rows where the cells in column A contain the "Date e ricevute” string is it possible to ensure that the related Date cells (i.e., those in columns B, D, F, H, J, L, N, P, R, T, V, and X) are yellow with blue text and those of the Custom Currency type (i.e., those in columns C, E, G, I, K, M, O, Q, S, U, W, and Y) are blue with yellow text?
Thanks
Bye
Could you finish your script, as I really need it (see above)?ThanksBye
Il giorno lunedì 27 ottobre 2025 alle 10:39:20 UTC+1 Balubeto Balubeto ha scritto:
Now the script works, and I've learned something new thanks to you.
To conclude, in the rows where the cells in column A contain the "Date e ricevute” string is it possible to ensure that the related Date cells (i.e., those in columns B, D, F, H, J, L, N, P, R, T, V, and X) are yellow with blue text and those of the Custom Currency type (i.e., those in columns C, E, G, I, K, M, O, Q, S, U, W, and Y) are blue with yellow text?
Thanks
Bye
Il giorno domenica 26 ottobre 2025 alle 16:09:43 UTC+1 Brent Guttmann ha scritto:
As I said, you need to add the trigger.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/fc755953-9188-4c22-a81e-03f4d1834e25n%40googlegroups.com.
What I added only applies the same coloring to the row above the one that was inserted. I integrated it with the code you originally had, so you might want to check that section or your conditional formatting to identify the cause.
I recommend taking some time to review the code, understand how it works, and debug it yourself, as I don’t plan to spend further time on this. It might be a language barrier issue, but I also suggest being mindful of how you ask for help on this forum; at times, your requests can come across as if others owe you a solution.
Sorry again, but I noticed a bug in your script:
When I add a row, the blank rows 42, 47, and 54 are automatically colored. How come?ThanksBye
Il giorno venerdì 31 ottobre 2025 alle 09:09:24 UTC+1 Balubeto Balubeto ha scritto:
I understand.
When you have some time, remember to finish this script, as I think it will be very useful in several projects.ThanksBye
Il giorno giovedì 30 ottobre 2025 alle 17:33:59 UTC+1 Brent Guttmann ha scritto:
Sorry, I do not have time for this. I suggest you use conditional formatting. I am sure chatgpt can help you out. Good luck!
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/1dc3f0a8-b7b9-46f9-ae6a-3f1b55f2c391n%40googlegroups.com.
This morning, I opened my spreadsheet and neither the Extensions menu nor your script menu were there.
Now, only the first menu has reappeared.
What happened?ThanksBye
Il giorno sabato 1 novembre 2025 alle 09:26:22 UTC+1 Balubeto Balubeto ha scritto:
What a nice problem, since I don't know anything about programming.
Please, could you fix that bug?ThanksBye
Il giorno venerdì 31 ottobre 2025 alle 14:12:59 UTC+1 Brent Guttmann ha scritto:
What I added only applies the same coloring to the row above the one that was inserted. I integrated it with the code you originally had, so you might want to check that section or your conditional formatting to identify the cause.
I recommend taking some time to review the code, understand how it works, and debug it yourself, as I don’t plan to spend further time on this. It might be a language barrier issue, but I also suggest being mindful of how you ask for help on this forum; at times, your requests can come across as if others owe you a solution.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/0985e9e7-21f6-4bbc-b7b2-d2b31829a381n%40googlegroups.com.
Finally, I have restored my spreadsheet with your script working.
The thing I don't understand is why the cells of rows 70 and 71 and those of D131, D132, D133, and D134 are colored in yellow, since your script should ignore the aforementioned cells.
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 visit https://groups.google.com/d/msgid/google-apps-script-community/575ceeb0-b129-4bd3-938d-016a866979f6n%40googlegroups.com.
The link to my spreadsheet is in the first message.
Thanks
Bye
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/e6450072-ffe5-4eba-8de6-be00fc33d246n%40googlegroups.com.

