This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 68,933 times.
Learn more...
This wikiHow teaches you how to access Google's script editor in a desktop internet browser, and run code in the editor for testing purposes.
Steps
-
1Open Google Sheets in your internet browser. Type sheets.google.com in your browser's address bar, and hit ↵ Enter or ⏎ Return on your keyboard.
-
2Click a spreadsheet file. Find the spreadsheet you want to run a script on, and open it.Advertisement
-
3Click the Tools tab. This button is on a tabs bar below the file name in the upper-left corner of your spreadsheet. It will open a drop-down menu.
-
4Tap Script editor on the Tools menu. This will open the Google's browser-based script editor in a new tab.
-
5Create your script in the script editor. You can type your script here, or delete everything on the page and paste code from your clipboard.
- If you're looking for some useful scripts, Google offers a few basic suggestions in their developer guides.
-
6Name your script project. Click the "Untitled project" heading in the upper-left corner of your window, and enter a title for your new script project in the "Edit Project Name" window.
-
7Click the icon to run your script. This button is on a toolbar below the file name and tabs bar in the upper-left corner of your window. It will save and run the code in the script editor.
- If you're prompted to authorize script testing, click the Review Permissions button, and Allow script testing in your account settings.
About This Article
1. Open Google Sheets.
2. Click a file.
3. Click the Tools tab.
4. Click Script editor.
5. Enter your script into the editor.
6. Click the Play/Run icon on the toolbar at the top.