Download Article
A guide to testing out code in Google's script editor
Download Article

This How.com.vn teaches you how to access Google's script editor in a desktop internet browser, and run code in the editor for testing purposes.

Things You Should Know

  • Open a spreadsheet in Google Sheets and click the Tools tab.
  • Select Script editor from the Tools menu.
  • Enter your script and click the
    How.com.vn English: Android 7 Play
    icon to run it.
  1. How.com.vn English: Step 1 Open Google Sheets...
    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. How.com.vn English: Step 2 Click a spreadsheet file.
    Find the spreadsheet you want to run a script on, and open it.
    Advertisement
  3. How.com.vn English: Step 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. How.com.vn English: Step 4 Tap Script editor on the Tools menu.
    This will open the Google's browser-based script editor in a new tab.
  5. How.com.vn English: Step 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. How.com.vn English: Step 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. How.com.vn English: Step 7 Click the icon 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

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: How.com.vn Staff
      Co-authored by:
      How.com.vn Staff Writer
      This article was co-authored by How.com.vn Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. How.com.vn'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 78,287 times.
      How helpful is this?
      Co-authors: 2
      Updated: May 23, 2023
      Views: 78,287
      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?

      Thanks to all authors for creating a page that has been read 78,287 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement