Skip to main content Home About Workbench Profiles The Garage Growth Framework Wall of Fame Blog Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft Teams Windows 365 Microsoft AI Azure Space Mixed reality Microsoft HoloLens Microsoft Viva Quantum computing Sustainability Education Automotive Financial services Government Healthcare Manufacturing Retail Find a partner Become a partner Partner Network Microsoft Marketplace Marketplace Rewards Software development companies Blog Microsoft Advertising Developer Center Documentation Events Licensing Microsoft Learn Microsoft Research View Sitemap

Description

Experiment with the Office JavaScript API without ever leaving Excel, Word, or PowerPoint! You can use Script Lab to:

  • Create and edit code snippets that can include JavaScript, HTML, CSS, and references to libraries and data on the web
  • Run the snippets and instantly see the result in a task pane and in the Office document
  • Get started quickly with a selection of samples
  • Share and save your snippets with GitHub gists
  • Learn the JavaScript API with the help of IntelliSense while you edit
  • Try TypeScript: make use of lambda functions, template strings, or even the latest TypeScript 2.0+ features like async/await
  • Prototype an add-in you’re planning to develop

There’s no need to install any other software or configure your environment: as long as you have Office, you can get started in seconds. Script Lab works in Excel, Word, and PowerPoint (Office 2013 and later, Office Online, and Office for Mac). The source code for Script Lab is open to the community at https://aka.ms/scriptlab. We welcome your contributions.

Video

Script Lab, a Microsoft Garage project With Script Lab you can create and run Office Add-in code snippets from within Excel, Word, or PowerPoint, using JavaScript, HTML, CSS, and data from the web. Script Lab is available for Office 2016, Office 2013, Office 2016 for Mac, and Office Online.

Meet the team

Script Lab Team

Michael Zlatkovsky, Bhargav Krishna, Daniel M. Galan, Jakob Nielsen, Michael Saunders

Script Lab Team

Redmond Lab

English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Sitemap Contact Microsoft Privacy Manage cookies Terms of use Trademarks Safety & eco Recycling About our ads