Coming soon: Run Office Scripts with a workbook button

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.

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 will be rolling out to organizations with Microsoft 365 commercial or educational licenses over the coming weeks. 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.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 Send Feedback button located in the More options (…) menu of the Code Editor. 
  • 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 

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.