Category "google-apps-script"

Google sheet script to delete row if certain cells are empty and add row at the bottom [closed]

I have a sheet with a table with content in the range B6:Y1000. I would like a script that would delete all rows if column C-D-E-F-G are empty

Google script - Service error: Spreadsheets

As of a couple of weeks now, I'm getting a "Service error: Spreadsheets" error when running a script in Google Sheets. Before that, it was working fine. It's su

Apps Script Service Account Ownership Issue

I encounter the following problem: An external app is using a service account to copy Google Sheets from a template folder to a shared drive. After the copy the

Apps Script Searches for specific cell in spreadsheet

i made a bot for telegram using Apps script i have a spreadsheet which has a database... 3 columns 500 rows ID , Username, Full Name i want to make a command fo

IP address of apps scripts for whitelist

Im trying to build an automatic program that get leads from API to my google sheet. when im running the program from my pc all works great, but, when im trying

How to call an external API from Google Apps Script

I want to call the Steem API from inside a Google Apps Script function. I want to see the appropriate server response. But I get the following error instead. A

IMPORTXML Change the imported format in a cell

I used the IMPORTXML formula to import values from a website. The formula imports a list of 4 cells in a column. The value of the 3rd cell is a number with a do

Google Sheets- How to Clear, Zero Out, or Replace Specific Cells Efficiently Via Script

This is three similar actions needed in one sheet. Hopefully this ends up being a useful question in general. I have a script that copies the values of arbitrar

How can I add line breaks to the prompt in a google apps script dialogue box?

I'm attempting to provide a multi-line prompt message in a dialogue box using g-app script. The resulting dialogue box would be: Content of line 1. Content of l

can I generate listenKey binance in app script

I try a lot of think to create listenKey in app script but nothing work. the binance URL: https://binance-docs.github.io/apidocs/spot/en/#user-data-streams this

Script Google Sheets to generate Google Maps picture and paste it into a cell

I tried to take a code and adapt it to my needs but without success as I am new in script. This code allows to generate a google map with markers on several add

Duplicate a row with a condition (google app script)

I have a sheet which one column (column 10) is a drop down list with 2 possibilities : official or non official. I'm trying to create a script that export this

Data validation based on a first Data validation using Two onEdit functions in the same script

I need help, I'm using an onEdit function to implement data validation based on a sheet. It is working fine when I use it alone. I can choose a type in Colonne

Update or create row based on ID - Google Script

It's been several days since I'm stuck on this problem. I've tried everything I saw but I think I miss some logic of the Google Script. I have a php form which

Transfer data by script on GoogleSheet

I already have a script that kind of making what I want, but I have a small issue with it, it's that it copy all the sheet with everything instead for me, I wan

Importing .csv content from gmail into gsheet - script works - content shows strange symbols

when running my script to import .csv content from gmail it works and runs fine without any errors. But the content within the sheet is off. Strange thing is sa

Integrate google ads in google sheets using apps script

Really sorry if this is the basic question. I have been searching for two days to find the documentation/sample function to use in apps script that fetches goog

Clear cell contents based on color in Google Sheets

I need to write a script that if a cell color is red, it will be deleted. I have found the answer for excel but not google sheets.

Google Sheets, how to run function every x column?

I have a script in google sheets with the following function: // Function to get current active sheet-name. function getsheetName(dummy) { return SpreadsheetA

Google sheet script to search and retrieve Gmail data

I've started a script that matches an email address in Col D with Gmail and writes the last message date in Col E. I'd like that script to repeat row by row - n