Excel Automate Office Scripts not working

H4941 170 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.

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
{count} votes

Answer accepted by question author
  1. Danaj, Adam 105 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

    4 people found this answer helpful.
    0 comments No comments

15 additional answers

Sort by: Most helpful
  1. Christian Breiholz 5 Reputation points
    2025-02-05T15:22:47.44+00:00

    We have the same challenges.

    1 person found this answer helpful.
    0 comments No comments

  2. Gary Gleeson 5 Reputation points
    2025-05-07T15:40:21.35+00:00

    Can anyone following this confirm that this is still a problem ? I opened a ticket in April and they told me that this is a global problem and that I should follow this question. This is the first place I came when I had the problem and didn't expect it to be tracking a current issue still - especially as some people in the thread said it was fixed (I think).

    1 person found this answer helpful.
    0 comments No comments

  3. 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.