Script Lab is an interactive playground for Office Add-ins, letting you experiment with Office JavaScript API without ever leaving Excel, Word, PowerPoint, or Project. Tag questions with `script-lab` (and likely with `office-js` as well) if they are either about Script Lab, or have examples or answers that use Script Lab.
Experiment with the Office JavaScript API without ever leaving Excel, Word, or PowerPoint! Install Script Lab for free from https://aka.ms/getscriptlab, and then use it 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 is available as a free add-in from the Office Store.
Script Lab works in Excel, Word, PowerPoint, and Project (Office 2013 and later, Office Online, and Office for Mac).
The source code, issues list, suggestions, and support for Script Lab can all be found at https://github.com/OfficeDev/script-lab.