Relative Content

Tag Archive for google-apps-script

createTextFinder returning null on production

The following code from a web application works perfectly when running in the code editor but it fails when launching from the link I get on implementation. It returns TypeError: Cannot read properties of null (reading 'getColumn'). So the problematic line is line 4: var col = ws.createTextFinder(fldName).findNext().getColumn();

Adjusting A Script That Deletes Duplicates On Other Sheets

I was given this script that deletes all duplicates from Sheets 1, 2 & 3 as they come into Sheet4. I need to adjust it so it does not delete duplicates if, when the Job Number comes into ColA Sheet4, it reassigns it from MO123456 to MO123456^1 in Col B. Anything over or equal to ^2 should be treated a a duplicate that needs deleted from Sheets 1, 2 & 3.

Adjusting A Script That Deletes Duplicates On Other Sheets

I was given this script that deletes all duplicates from Sheets 1, 2 & 3 as they come into Sheet4. I need to adjust it so it does not delete duplicates if, when the Job Number comes into ColA Sheet4, it reassigns it from MO123456 to MO123456^1 in Col B. Anything over or equal to ^2 should be treated a a duplicate that needs deleted from Sheets 1, 2 & 3.

Adjusting A Script That Deletes Duplicates On Other Sheets

I was given this script that deletes all duplicates from Sheets 1, 2 & 3 as they come into Sheet4. I need to adjust it so it does not delete duplicates if, when the Job Number comes into ColA Sheet4, it reassigns it from MO123456 to MO123456^1 in Col B. Anything over or equal to ^2 should be treated a a duplicate that needs deleted from Sheets 1, 2 & 3.

Google Apps Script only works for me

I’ve used the following script to automatically sort entries in a Google Sheet but it only works for me. When another user, with whom I’ve shared the Google Sheet, edits the sheet the sorting is not triggered. They’ve not been asked/prompted to grant authority to run the script using their account. I’m not sure what I need to change to make it work and/or prompt the user to grant authority. Grateful for advice. Thanks.