Skip to content

Commit 010227e

Browse files
authored
[excel] (Sharing) Updating Script Button information with new UX (#689)
* Update Script Button text to describe new UX * Update image to show a button * Remove extra sharing image
1 parent 997ebd6 commit 010227e

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

docs/develop/script-buttons.md

Lines changed: 6 additions & 6 deletions
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: 10/24/2023
5+
ms.date: 12/19/2023
66
ms.localizationpriority: medium
77
---
88

@@ -14,15 +14,15 @@ Help your colleagues find and run your scripts by adding script buttons to a wor
1414

1515
## Create script buttons
1616

17-
With any script, go to the **More options (…)** menu in either the script's details page or the Code Editor's task pane and select **Add button**. This creates a button in the workbook that runs the associated script when selected. It also shares the script with the workbook, so everyone with write permissions to the workbook can use your helpful automation.
17+
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.
1818

19-
The following screenshot shows the script details page for a script titled **Create PivotTable** and has the **Add button** option within the **More options (…)** menu highlighted.
20-
21-
:::image type="content" source="../images/add-button.png" alt-text="The 'Add button' option in the script details page menu.":::
19+
:::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.":::
2220

2321
## Remove script buttons
2422

25-
To stop sharing a script through a button, go to the **More options (…)** menu in the script details page and select **Stop sharing**. 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.
23+
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.
24+
25+
:::image type="content" source="../images/remove-button.png" alt-text="The 'Remove from workbook' option on the script details page.":::
2626

2727
## Older versions of Excel
2828

docs/images/add-button.png

7.81 KB
Loading

docs/images/remove-button.png

12.7 KB
Loading

docs/overview/excel.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Office Scripts in Excel
33
description: A brief introduction to the Action Recorder and Code Editor for Office Scripts.
44
ms.topic: overview
5-
ms.date: 04/11/2023
5+
ms.date: 12/19/2023
66
ms.localizationpriority: high
77
---
88

@@ -51,11 +51,9 @@ Our [tutorials](../tutorials/excel-tutorial.md) provide a guided and structured
5151

5252
Office Scripts can be shared with other users of an Excel workbook. When you share a script in a shared workbook, everyone with access to the workbook can also view and run your script. For more details about sharing and unsharing scripts, see [Sharing Office Scripts in Excel](https://support.microsoft.com/office/226eddbc-3a44-4540-acfe-fccda3d1122b).
5353

54-
:::image type="content" source="../images/script-sharing.png" alt-text="The script details page showing the 'Share with others in this workbook' option.":::
55-
5654
Add buttons that run scripts to help your colleagues discover your valuable solutions and let them run scripts straight from the workbook. Learn more about script buttons in [Run Office Scripts with buttons](../develop/script-buttons.md).
5755

58-
:::image type="content" source="../images/add-button.png" alt-text="A button in the worksheet that runs a script when clicked.":::
56+
:::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.":::
5957

6058
> [!NOTE]
6159
> Learn more about how scripts are stored in your OneDrive in [Office Scripts file storage and ownership](script-storage.md).

0 commit comments

Comments
 (0)