Add office scripts to shapes in Excel Online
Assign script/Vba/macro to a shape in Excel online
Thank you for sending Microsoft feedback. Your input is valuable to us and helps improve our products.
Office Scripts doesn’t yet allow shape based triggers. It is something that is of interest to us. Could you please provide some details how how you wish to use this in Excel for web?
If you have any questions, please reply back to this email.
The Microsoft Team
Sudhi I would like to be able to execute a script written in Office Scripts when pressing a button in an excel spreadsheet
I think we need to interact with a user via some events associated with shapes/buttons which are plased in a list in Excel Online. Means - to be able to press button and run some script, invoke a web form (instead of VBA userForm), read soume imputs from this web form and based on this run some other Office scripts. It is impossible now.