Blog Post

Excel Blog
1 MIN READ

Announcing buttons for Office Scripts: Run scripts with a workbook button

NancyatMSFT's avatar
NancyatMSFT
Icon for Microsoft rankMicrosoft
Nov 02, 2021

Starting today, you—and your colleagues—can run Office Scripts by pressing a button within a workbook. This highly requested feature introduces a new way to share scripts with colleagues, making it easier for users to find and run your scripts. 

 

Script buttons are now available to all organizations with Microsoft 365 commercial or educational licenses. Follow the steps below to try it out: 

 

  1. From the Automate tab, select a script.  
  2. Go to the More options (…) menu in either the Script Details, All Scripts or Code Editor pane.
  3. Select Add button. 

One of the places you can assign a script to a button is the Script Details page.

 

Read more about script buttons for Office Scripts. 

 

Learn more about Office Scripts 

New to Office Scripts and wondering how to get started? Check out these resources created by our team and community: 

 

Share your feedback 

We'd love to hear your feedback as you try out our feature! Below are a few ways you can connect with our team: 

  • Give us feedback through the Feedback button located in the Help tab. Include the phrase "Office Scripts" to ensure the feedback gets properly routed to our team!
  • Inform our product direction through joining our focus group on GreenRoom. 
  • Ask your scripting questions on StackOverflow using the [office-scripts] tag.   

Happy Scripting! 

Nancy on behalf of the Office Scripts team 

Updated Feb 08, 2022
Version 5.0