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. Simon Marcel 0 Reputation points
    2025-02-05T09:35:35.8+00:00

    Same issue unfortunately.

    I hope we will receive an official response soon. They claim all services to be working correctly, which they are obviously not.

    Sadly nothing we can do until godfather Microsoft decides to provide working Software

    0 comments No comments

  2. Nicole Ahmed 0 Reputation points
    2025-02-05T09:46:07.22+00:00

    I also cannot create new scripts

    Also my automation with scripts and powerautomate are failing too

    0 comments No comments

  3. JP 0 Reputation points
    2025-02-05T10:03:58.4233333+00:00

    Same here - I can't run the script or I don't even have access to it (even though I'm the owner). Clicking the button does nothing for me or anyone else who has access to the file. Some of them get an error saying that the script is not shared even though it is.

    Hope they fix it soon - it's a huge blocker.

    0 comments No comments

  4. Mark Woodward 0 Reputation points
    2025-02-05T10:40:38.2533333+00:00

    Same here - error when trying to use 'New Script' and existing scripts are not available to run or edit.
    User's image

    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.