Skip to content

Commit 2f84d46

Browse files
authored
Merge pull request #748 from OfficeDev/main
[admin] Publish
2 parents ba4a31c + 2b4789a commit 2f84d46

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/develop/script-buttons.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Run Office Scripts in Excel from buttons
33
description: Add buttons to workbooks that control Office Scripts in Excel.
44
ms.topic: overview
5-
ms.date: 12/19/2023
5+
ms.date: 06/06/2024
66
ms.localizationpriority: medium
77
---
88

@@ -12,12 +12,18 @@ Help your colleagues find and run your scripts by adding script buttons to a wor
1212

1313
:::image type="content" source="../images/run-from-button.png" alt-text="A button in the worksheet that runs a script when clicked.":::
1414

15+
> [!NOTE]
16+
> Script buttons aren't available during the Office Scripts preview for personal and family Microsoft 365 subscriptions.
17+
1518
## Create script buttons
1619

1720
When viewing a script, select **Add in workbook**. This creates a button in the workbook that runs the associated script. It also shares the script with the workbook, so everyone with write permissions to the workbook can use your helpful automation.
1821

1922
:::image type="content" source="../images/add-button.png" alt-text="The 'Add in workbook' button on the 'Create Report' script details page with a button named 'Create Report' shown in the Excel grid.":::
2023

24+
> [!IMPORTANT]
25+
> If OneDrive sharing is restricted by organizational policies, you can't create a script button.
26+
2127
## Remove script buttons
2228

2329
To stop sharing a script through a button, select the arrow next to **Add in workbook** and choose the option **Remove from workbook**. This removes all the buttons that run the script. Deleting a single button removes the script from that one button, even if the operation is undone or the button is cut and pasted.

docs/includes/platform-requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To use Office Scripts, you'll need the following.
44

55
1. Excel on the web, Excel for Windows (Version 2210 or higher), or Excel for Mac.
66
1. OneDrive for Business.
7-
1. Any commercial or educational Microsoft 365 license with access to the Microsoft 365 Office desktop apps, such as:
7+
1. Any of the following Microsoft 365 subscription licenses:
88
- Office 365 Business
99
- Office 365 Business Premium
1010
- Office 365 ProPlus

0 commit comments

Comments
 (0)