Announcing Office Scripts (Preview)
Published Jan 07 2020 08:18 AM 63.1K Views


Today we are announcing the availability of a public preview of Office Scripts in Excel on the web. Office Scripts is a feature that enables users with all levels of Excel experiencefrom beginner users to those with advanced coding expertiseto record scripts and automate their tasks. Over the coming weeks, this preview will be rolling out to organizations with Office 365. Get started by opting into the preview within the Microsoft 365 admin center, and create new automations using the script recorder and editor functionality. 


What is Office Scripts? 

With Office Scripts, you can automate tasks and workflows easily, and eliminate the need for repetitive steps as you create and manage workbooks. When the preview is enabled within your Office 365 environment, you can start creating Office Scripts by clicking the Record Actions button in the Automate tab, record the actions desired, stop the recorder, and then save the script.  Once a script is created you have the capability to run the script manually on Excel workbooks you have access to. Because the script is saved to OneDrive for Business, they can be easily reused across workbooks.  


Let’s see it in action:  



Users with all levels of programming experience can get started with script creation. It uses modern, developer-friendly technologies such as JavaScript so these scripts can be easily customized with existing - or new and growing – developer skills.  To edit your scripts, use a full TypeScript-based editor directly within Excel on the web to tailor the scripts you have recorded. Finally, administrators will be able to enforce governance policies around how Office scripts can run. 


Office Scripts will empower you to easily automate tasks and processes, allowing you to manage tasks efficiently anytime and anywhere, including within Excel on the web. Get started with the preview of Office Scripts for Excel on the web – we look forward to your feedback. 


Learn More 

You can learn more about Office Scripts from these resources: 

How do I get Office Scripts? 

Office Scripts will be rolling out over the next few weeks to Excel users who have Office 365 E3 and E5 licenses. Gradual roll outs allow us to gather feedback and ensure feature quality. During this initial preview, Office Scripts will only be available in Excel on the web, though we will look to bring Office Scripts to other Excel endpoints. Office Scripts will need to enabled through the admin center and will become visible in tenants as the feature rolls out. The feature can be enabled by following the steps below: 


  1. Go to admin center. 
  2. Select Settings > Settings and then choose Office Scripts from the list. 
  3. Check the “Let users automate their tasks in Office on the web” box in the Office Scripts panel and save changes. 

Note: Office Scripts is not currently available in Internet Explorer. 

To stay connected to Excel and its community, read the Excel blog posts and send us ideas and suggestions via UserVoice or post your questions about how to create a script via StackOverflow using the “office-scripts” tag. You can also follow Excel on Facebook and Twitter.  

Version history
Last update:
‎Jan 09 2020 09:31 AM
Updated by: