I cannot create or open a script in Excel online

Vicente Mendonça Greco 1 Reputation point
2022-11-09T12:52:35.38+00:00

The ideia is to run a script in a Excel file in Sharepoint, but i just cannot create a script.

the error msg just says:

"An unexpected error has occurred. Close the tool panel to try again."
"Your scripts could not be loaded. Try again."

When I try in a different sharepoint with another account it works fine. What is causing this?

Microsoft 365 and Office Development Other
Microsoft 365 and Office SharePoint Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2022-11-10T01:43:21.413+00:00

    Hi @Vicente Mendonça Greco ,
    Please check your sharepoint admin center setting if your sharepoint have enabled Office Script. Please follow the steps

    1. Access the Admin Center setting
      258915-image.png
    2. Open Office Scripts Settings
      258923-image.png
    3. Enable Office Scripts
      258962-image.png

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



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.