Category "google-apps-script"

comma error while importing csv using appscript to google sheets

I am trying to import a csv file to google sheets via google appscript. everything works well except in the last few rows the data is being copied after skippin

comma error while importing csv using appscript to google sheets

I am trying to import a csv file to google sheets via google appscript. everything works well except in the last few rows the data is being copied after skippin

Image path URL not Rending right in google apps script

I am trying to build an web app using apps script it was working well till yesterday but I don't know why my password recovery pages not rendering right. the im

Google Apps Script search function needs to compare strings containing numbers and letters

So I'm building an incredibly simple database (really just a minor in-sheet MVC) to standardize data storage practices in order to automate some things. I'm try

How to get the current price of a cryptocurrency on google sheets from coinmarketcap?

On a google sheets cell I want to get only the current cryptocurrency price with this formula: =ValueCrypto(A1) I tried this function for coinmarketcap: functi

Automatically protect / un-protect sheets or ranges when value is change from another source (google sheets)

There is a case where test is given to a certain student. The student can only work with the answer for the test before a given period. Here is the sample case:

Working with large folders in Apps script

I have a folder with over 50,000 files in it and it's so big that even getting all the file id's causes a 6 minute timeout. In fact it's so large I cannot even

How do I set the border-weight of an Inline Image in app script?

How do I set the border-weight of an InlineImage in app script? The reference pages only show how to change the border width for a cell in table,

Google Sheets: Copy and Paste from one sheet to another based on checkbox

I posted a question a few weeks ago stating I'm a sort of a newbie at all of this and I am trying to learn. I am trying to write some script for a spreadsheet I

Google Sheets: Copy and Paste from one sheet to another based on checkbox

I posted a question a few weeks ago stating I'm a sort of a newbie at all of this and I am trying to learn. I am trying to write some script for a spreadsheet I

How to run google app script at exact time?

Currently, I want to run my google app script at exact time. I have already do some reading about this problem and I decide to follow the solution in this post

Newbie - need script to remove duplicates based on multiple criteria

So I'm super new to Google Sheets - as I mostly use Excel and Smartsheet. I was trying to accomplish this by just recording a macro, so this is VERY messy. I ha

Get the email address of a "people chip"?

Does anyone know if there is a way to use the Google Sheets API to get the email address of a people chip? It seems like the only values it will give me are the

There is a way to set the pdf size in the following script?

How do I set the pdf size as A4 in the following script? Also, is it possible to fit the sheet into a single pdf page? function sendSheet() { var message = {

Google Sheets keeps sending emails

Been building a landing page to start an email list. Decided to use Google Sheets as the backend to store emails & Google Scripts to send the first welcome

Mail merge with different attachments

Please guide me. For how to fix the script to different attachments. In other parts of script is perfected. I want to solution for attachments. See code here

Stop script from creating PDF duplicates

I'm new to the coding thing but I've been able to write a script that will take info from a spreadsheet and turn it into a PDF. The trouble I'm having now is tr

Using both AdminDirectory API and AdminReports API in the same project/script?

So when you add either service, you exclude the other one (see picture). Once you have added either the reports_v1 or directory_v1 you can no longer select the

How can I use Google Apps Script's UrlFetchApp to scrape a New Google Sites page?

My group recently migrated from classic to New Google Sites. There were many things I was doing with classic sites and/or apps script's Sites Service I can't do

How to save PDF from HTML with the same rendering in app script

I need to save an HTML webpage as a pdf in my google Drive. I am using app script. However, the PDF is rendered differently from the HTLM page. I need the PDF t