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 experience—from beginner users to those with advanced coding expertise—to 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?
- Introduction of Office Scripts in Excel
- Office Scripts technical documentation
- Office Scripts setting in M365
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:
- Go to admin center.
- Select Settings > Services & add-ins and then choose Office Scripts from the list.
- 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.
Source: Announcing Office Scripts (Preview) - Microsoft Tech Community - 1093559
My Computer
At a glance
64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Self built custom
- OS
- 64-bit Windows 11 Pro for Workstations
- CPU
- Intel i7-8700K OC'd to 5 GHz
- Motherboard
- ASUS ROG Maximus XI Formula Z390
- Memory
- 64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
- Graphics Card(s)
- ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
- Sound Card
- Integrated
- Monitor(s) Displays
- 2 x Samsung Odyssey G7 27"
- Screen Resolution
- 2560x1440
- Hard Drives
- 1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
- PSU
- Seasonic Prime Titanium 850W
- Case
- Thermaltake Core P3
- Cooling
- Corsair Hydro H115i
- Keyboard
- Logitech wireless K800
- Mouse
- Logitech MX Master 4
- Internet Speed
- 2 Gb/s Download and 100 Mb/s Upload
- Antivirus
- Malwarebyte Anti-Malware Premium
- Browser
- Google Chrome
- Other Info
- Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone