You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating Multiple Buttons on Google Spreadsheet using Google Apps Script
Creating Multiple Buttons on Google Spreadsheet using Google Apps Script
This is a sample script for creating the multiple buttons on Google Spreadsheet using Google Apps Script.
Recently, I have got several contacts about this. I thought that when this is published, it might be useful for other users. So I published this sample script.
Retrieving Names of Month and Day of Week using Google Apps Script
Retrieving Names of Month and Day of Week using Google Apps Script
This is a sample script for retrieving the names of month and day of week using Google Apps Script.
I think that you might have a case that you want to retrieve the names of month and day of week using Google Apps Script. This sample script retrieves them using a simple script.
Using Utilities.formatDate of Google Apps Script, the names of month and day of week can be retrieved using a simple script.
Letting Users Running Google Apps Script on Google Spreadsheet without both Authorizing Scopes and Showing Script
Letting Users Running Google Apps Script on Google Spreadsheet without both Authorizing Scopes and Showing Script
This is a sample workaround for letting users running Google Apps Script on Google Spreadsheet without both authorizing the scopes and showing the script.
The flow of this workaround is as follows.
Create Web Apps created by Google Apps Script and deploy it as Web Apps. As the returned value, the XML data is returned.
Your script can be included in this script.
User put a formula of =IMPORTML("WebApps URL", "xpath") to a cell.
Retrieving Named Functions from Google Spreadsheet using Google Apps Script
Retrieving Named Functions from Google Spreadsheet using Google Apps Script
This is a sample script for retrieving the named functions from Google Spreadsheet using Google Apps Script.
Recently, the named functions got to be able to be used in Google Spreadsheet. Ref When several named functions are added, I thought that I wanted to retrieve these functions using a script. But, unfortunately, in the current stage, it seems that there are no built-in methods (SpreadsheetApp and Sheets API) for directly retrieving the named functions. So, I created this sample script.
Copying Google Spreadsheet by Removing Container-Bound Script Using Google Apps Script
Copying Google Spreadsheet by Removing Container-Bound Script Using Google Apps Script
This is a sample script for copying a Google Spreadsheet including a container-bound script by removing the container-bound script using Google Apps Script.
When you want to copy a Google Google Spreadsheet including a container-bound script by removing the container-bound script using Google Apps Script, this could be achieved by using "get" and "create" methods of Sheets API before. The sample script is as follows.
Retrieving Event ID from Event URL of Google Calendar using Google Apps Script
Retrieving Event ID from Event URL of Google Calendar using Google Apps Script
This is a sample script for retrieving the event ID from the event URL of Google Calendar using Google Apps Script.
The event URL is like https://www.google.com/calendar/event?###. At the event URL, ### of https://www.google.com/calendar/event?### is not the event ID. So it is required to convert it.