Fix Office Scripts Not Loading in Excel and SharePoint
Question details
Users are unable to create, load, or run Office Scripts within Excel workbooks stored in SharePoint.
- Product
- Microsoft Excel, SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to execute or edit Office Scripts in Excel files hosted on SharePoint across both web and desktop versions.
- Observed behavior
- Office Scripts fail to load or run entirely. Updating the Office desktop application does not resolve the issue.
Before proceeding, verify that your internet connection is stable and ensure you have the necessary administrator permissions to view your organization's Microsoft 365 service health status.
Check the Microsoft 365 Service Health Dashboard
Identify if the problem is caused by a known Microsoft service outage, such as incident OP997892.
Because Office Scripts rely heavily on cloud processing and SharePoint integration, backend service interruptions often cause them to stop loading. Checking for active incidents can save you time on unnecessary local troubleshooting.
Navigate to the Microsoft 365 admin center using an account with administrator privileges.
In the left navigation menu, click on 'Health' and then select 'Service health'.
Review the dashboard for active incidents or advisories related to Office Scripts, Excel for the Web, or SharePoint (for example, incident OP997892).
If a relevant incident is listed, monitor it for updates. In most cases, no local action is required, and you must wait for Microsoft to deploy a service fix.
Submit a Support Ticket to Microsoft
Escalate the issue to Microsoft Support if no ongoing service incidents are reported on the dashboard.
Try WPS Office for Dependable Spreadsheet Management and Macros
If Microsoft service incidents are disrupting your workflow with cloud-based Office Scripts, WPS Office offers a stable, lightweight, and highly compatible offline alternative. Enjoy built-in robust macro support and seamless spreadsheet editing without being restricted by cloud server outages.
- 1. Download and Install: Visit the official WPS Office website to download and install the free software on your computer.
- 2. Open Your Workbooks: Launch WPS Spreadsheets and open your existing .xlsx or .xlsm files seamlessly.
- 3. Use Local Macros: Navigate to the Developer tab to record, write, and execute VBA macros locally without worrying about cloud connectivity.

Frequently Asked Questions
Why are my Office Scripts suddenly greyed out in Excel?
This usually happens if your organization has disabled Office Scripts through admin policies, if the file is not saved in a supported cloud location like SharePoint or OneDrive, or during an active Microsoft backend service outage.
Does updating the Excel desktop app fix script loading errors?
Typically, if the issue is tied to a cloud service incident (like OP997892), updating or reinstalling your local desktop application will not resolve the problem until the backend service is fully restored by Microsoft.
Can I run Office Scripts completely offline?
No, Office Scripts require an active internet connection to function because they are processed in the cloud and rely on your Microsoft OneDrive or SharePoint storage environment.
What is the difference between Office Scripts and VBA macros?
Office Scripts are cloud-based, use TypeScript, and work seamlessly across Excel for the Web and Desktop. VBA macros are locally processed, use Visual Basic, and only run on desktop versions of Excel.




