How to link button to office scripts.

Jerome Thio 0 Reputation points
2025-11-15T02:55:29.0433333+00:00

Screenshot 2025-11-15 10.50.06.png

Dear Mircosoft, I am having issues with my project because i cannot link shape(button) to the office scripts. Could you help me like get the button back for EXCEL WEB. Thank you

Microsoft 365 and Office | Excel | For home | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kimberly Olaño 19,395 Reputation points Independent Advisor
    2025-11-15T03:36:25.2666667+00:00

    Thanks for sharing the details, Jerome! But the feature you're asking has been removed. Excel for the Web no longer supports assigning scripts to shapes.

    But here's what you can do instead:

    Use an Office Script Triggered by a Button in a Power Automate Flow

    You can create a simple Power Automate flow:

    • Create a flow then choose “Run script”

    Add a "Manually trigger a flow" button

    This creates a button in Power Automate that runs your script anytime

    This is the closest current replacement for an Excel-sheet button.

    See if this helps. If you need further assistance just let me know.

    Best regards,

    Kimberly

    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.