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

27 Comments

  • RobertSanz thanks for sharing your thoughts with our team! I'd be curious to hear more about your idea of running scripts in other licenses like E1 - could you tell me more about the challenges you're facing there? Buttons currently work on E3 and E5 licenses to keep things consistent with the rest of Office Scripts, but eager to revisit that decision and explore whether it still makes sense now.

  • RobertSanz's avatar
    RobertSanz
    Copper Contributor

    Great! we really need this feature in out organization. cant wait any longer.

    I hope the button can work as a workaround to be able to run scripts in a Office 365 E1 License (kinda weird a pure on-line feature like OfficeScripts isnt available in a pure on-line office license like the E1).

  • RaulDuque Our team's still in the process of rolling this out - this is mostly to ensure there's no quirky behavior or issues we may have missed earlier. Excited for you to try this out though, thanks for asking!

  • RaulDuque's avatar
    RaulDuque
    Copper Contributor

    "... starting today " ... I can't see the button yet, when will it be available?