Office Scripts and script buttons are only available when the Automate tab and Office Scripts feature are available for the account and Excel environment being used. For a home Microsoft 365 subscription, note that script buttons are not available during the Office Scripts preview for personal and family subscriptions.
To run the recorded script without a gallery button or worksheet button:
- In Excel, go to Automate > View Scripts.
- Choose Recent Scripts or Scripts from this Workbook to open the Office Scripts task pane.
- In the task pane, locate the recorded script and select Run.
If the script does not appear and the Automate tab or Office Scripts seem unavailable, check the following:
- Confirm the Microsoft 365 license and platform support for Office Scripts as described under platform limits.
- Ensure the Automate tab is enabled and Office Scripts are not disabled by admin or policy (for managed tenants).
- If using Excel on the web, ensure third‑party cookies are enabled.
- If using Excel on Windows, ensure WebView2 is installed.
Because script buttons are not available for personal/family subscriptions during preview, adding a button to the workbook will not be possible in that scenario. Scripts must be run from the Office Scripts task pane instead.
References: