google-apps-script tag

111 questions


1 answers
43 views
0
I want to record folder tiers on Google drives

I want to record the folder hierarchy of Google drives, but I can't think of a good way.The purpose is to periodically record the ID of an item in a shared folder and restore it from Google Apps Scrip...

2 years ago

1 answers
128 views
0
difference between getActive() and getActiveSpreadsheet()

I am currently studying to make various things using Google Apps script.I'm trying to manipulate the sheet with a spreadsheet, but I have a question after seeing the reference.In the SpreadsheetApp cl...


1 answers
85 views
0
I want to include csv in my spreadsheet with UTF-8

SHIFT-JIS saves the local CSV file, so it gets garbled when you import it into Google spreadsheet.I would like to add a code to the following GAS script that you told me in the related question I aske...


1 answers
101 views
0
Retrieving Multiple Range Selection in Spreadsheet (GAS)

In Spreadsheets Add-on (Google Apps Script), vars=SpreadsheetApp.getActiveSheet();range=ss.getActiveRange();var values = range.getValues();Then, if the selection range is selected in Ctrl or Command o...


1 answers
51 views
0
How do I create a hierarchical folder?

I wrote the code below to create the folder Second Bottom 1 and Second Bottom 2 under the folder Second, but it is created in the same hierarchy as Second as shown in the attached image. Why?var folde...

2 years ago

1 answers
44 views
0
Gas does not work when Google spreadsheet starts as a trigger (for example, onOpen()).

when Google spreadsheet is started (when spreadsheet is opened)I'd like to run the gas I created in the script editor.Either of the following methods will not work at startup:On the script editor, in ...

2 years ago

3 answers
45 views
0
Error running Google Apps Script: Cannot invoke undefined method "getItemResponses"

Thank you for your continuous support.Now, I was writing a form script.Previously, the contents of the form were sent to the email without any problems in the script below, but an error occurred.The e...

2 years ago

1 answers
50 views
0
Class SpreadsheetApp does not have a close method. Why?

Class SpreadsheetApp has three types of open methods, but no close methods.Does this mean it's automatically closed? How do I keep it open until I explicitly close it?

2 years ago

1 answers
49 views
0
GAS sorting does not work: TypeError: Function getRange not found in object 1680.

I get an error when I try to sort below. Why?TypeError—Function getRange not found on object 1680. (line 5, file Original 2) Do not displayfunction A(){ var spreadsheet = SpreadsheetApp.getActiveSprea...

2 years ago

2 answers
46 views
0
Please tell me how to display the initial number 0 of the number answered from Google form on the spreadsheet.

If you answer a number from the Google form, it will be stored in the spreadsheet with 0 at the beginning of the sentence disappeared.Is there any way to store it in a spreadsheet with 0 left at the b...

2 years ago
« - 9 - »

© 2024 OneMinuteCode. All rights reserved.