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

  1. 1
    Open Google Sheets in your internet browser. Type sheets.google.com in your browser's address bar, and hit Enter or Return on your keyboard.
  2. 2
    Click a spreadsheet file. Find the spreadsheet you want to run a script on, and open it.
    Advertisement
  3. 3
    Click 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.
  4. 4
    Tap Script editor on the Tools menu. This will open the Google's browser-based script editor in a new tab.
  5. 5
    Create 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.
  6. 6
    Name 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.
  7. 7
    Click 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.
  8. Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
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. This article has been viewed 68,933 times.
How helpful is this?
Co-authors: 1
Updated: May 15, 2018
Views: 68,933
Article SummaryX

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.

Did this summary help you?
Advertisement