Excel Automate Office Scripts not working

H4941 150 Reputation points
2025-02-04T03:59:58.1666667+00:00

I've been using Office Scripts in Excel to automate some tasking. Yesterday, I tried to add a new script and it gives me the following error.

Oops, something went wrong

An unexpected error occurred. Click 'Refresh' button to retry.

I also tried 'Record Actions' to create a script and when i hit stop I get the following error:

Oops, something went wrong

We're unable to save your script. An unexpected error occurred while generating and saving the script. Click 'Record Actions' to record again.

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,143 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,227 questions
{count} votes

Accepted answer
  1. Danaj, Adam 95 Reputation points
    2025-02-05T08:12:37.9266667+00:00

    the problem is probably global

    with me it is not possible to create, edit and use scripts

    work in my company is very difficult

    3 people found this answer helpful.
    0 comments No comments

14 additional answers

Sort by: Most helpful
  1. Erik Zwep | GOsensit 10 Reputation points
    2025-02-05T11:30:12.85+00:00

    I'm experiencing the same issue. I have submitted a service request to Microsoft and am curious to see if they will address it quickly.

    0 comments No comments

  2. Caroline Briggs 0 Reputation points
    2025-02-05T11:50:15.0133333+00:00

    we have this today as well - nothing is working in Excel online scripts, watching for solution

    0 comments No comments

  3. Jóźwiak, Jakub 0 Reputation points
    2025-02-05T11:54:53.98+00:00

    Same here - can't run script manually, can't use it in Power Automate flow.

    0 comments No comments

  4. Mordecai 0 Reputation points
    2025-02-05T11:58:17.7733333+00:00

    I'm also getting the same problem. All Office scripts are failing. We need Microsoft to address this as soon as possible.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.