Share via

Excel script executable by button in workbook once only once, but fails with an error "the button cannot run since the script was unshared. Contact the owner to share it again" when clicked twice.

Anonymous
2024-05-07T08:36:31+00:00

Created an excel script, and added a button to the excel workbook. This script is owned by and linked to my account. But since the workbook is accessible to my whole organisation, people are able to execute this script by using the button added. While this button execution works once for the user, rerunning it gives an access error(image attached)

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-16T17:38:52+00:00

    Hi

    Have you had any luck finding a solution? I have the same issue. I found that users can run the script by going to the automate button on the ribbon and executing it there, but the button won’t work after the second click.

    Hey, no luck, still the same - button won’t work after the second click.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-05-15T13:28:54+00:00

    Hi

    Have you had any luck finding a solution? I have the same issue. I found that users can run the script by going to the automate button on the ribbon and executing it there, but the button won’t work after the second click.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-05-07T09:07:55+00:00

    cdffwe

    Was this answer helpful?

    0 comments No comments