Relative Content

Tag Archive for google-sheetsgoogle-apps-scriptgoogle-sheets-api

Show next row as soon as a cell is filled, using a macro

In a spreadsheet I want to distribute to my colleagues, I want to automatically unhide the next row (for the following record), as soon as a row (or a cell) is entered data into.
Alternatively unhide the next row (e.g. row 52) when a checkbox is clicked (in row 51).
On my sheet, there are multiple blocks with hidden cells, so I want the code to work everywhere for the ‘next’ row.

Getting error “Exception: The script does not have permission to perform that action.” with Apps Script

I’ve been trying to get a script from Apps Script to work with a specific Google Sheets whenever a certain column cell is changed, but for some reason, the script just returns "Exception: The script does not have permission to perform that action. Required permissions: (https://www.googleapis.com/auth/calendar || https://www.googleapis.com/auth/calendar.readonly || https://www.google.com/calendar/feeds)" whenever said cells are changed.

Using Sheets.Spreadsheets.Values.update() Correctly

I’ve created an array that I’d like to have pasted on a sheet in cell A1. I’m aware of how to do that using setValues() but I was under the impression that using Sheets.Spreadsheets.Values.update() would be faster.

Using Sheets.Spreadsheets.Values.update() Correctly

I’ve created an array that I’d like to have pasted on a sheet in cell A1. I’m aware of how to do that using setValues() but I was under the impression that using Sheets.Spreadsheets.Values.update() would be faster.

google sheets getrange return the word info instead of real value

I have a spreadsheet which values comes from an importRange function, the thing is that the getRange function is not fetching the right values, regardless the ROW, COLUMN selected, it returns the word “info” all the time except for Row Column 1,1 (or A1), it returns #Error.

Sumproduct through Google Script PT2

This is a follow-up to a question I had asked some time ago. The person who answered it requested I set up a new question rather than modify the existing so here it goes.