Skip to content

Commit 374da6d

Browse files
[excel] (Platform support) Address some backwards compatibility questions (#587)
* Address some backwards compatibility questions * Adding note about old versions of Excel opening scripts * Update docs/develop/script-buttons.md Co-authored-by: Alison McKay <[email protected]> * Merging --------- Co-authored-by: Alison McKay <[email protected]>
1 parent 845fa20 commit 374da6d

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

docs/develop/script-buttons.md

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

@@ -24,6 +24,10 @@ The following screenshot shows the script details page for a script titled **Cre
2424

2525
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.
2626

27+
## Older versions of Excel
28+
29+
Script buttons won't work when opened in [versions of Excel that don't support Office Scripts](../testing/platform-limits.md#platform-support). In that case, the button still appears, but selecting it has no effect.
30+
2731
## See also
2832

2933
- [Platform limits and requirements with Office Scripts](../testing/platform-limits.md)

docs/includes/platform-requirements.md

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

3-
1. Excel for Windows, for Mac, or on the web.
3+
1. Excel for Windows (version 2210 or higher), Excel for Mac, or Excel on the web.
44
1. The [Action Recorder](../overview/excel.md#action-recorder-web-only) is only available in Excel on the web.
55
1. OneDrive for Business.
66
1. Any commercial or educational Microsoft 365 license with access to the Microsoft 365 Office desktop apps, such as:

docs/testing/platform-limits.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ Your browser needs third-party cookies enabled to show the **Automate** tab in E
5959
- [Firefox](https://support.mozilla.org/kb/disable-third-party-cookies)
6060
- [Safari](https://support.apple.com/guide/safari/manage-cookies-and-website-data-sfri11471/mac)
6161

62-
## Cross-platform API support
62+
## API support on older Excel versions
6363

64-
Some Office Scripts APIs may not be supported by Excel for Windows or Excel for Mac, especially older builds. These include newer APIs and APIs for web-only features. If a script contains unsupported APIs, the Code Editor displays a warning. If you try to run such a script, it won't run and, instead, the **Script Run Status** task pane displays a warning message that says, "This script currently must be run on Excel for the web. Open the workbook in the browser then try again, or contact the script owner for help."
64+
Some Office Scripts APIs may not be supported by Excel for Windows or Excel for Mac, especially older builds. These include newer APIs and APIs for web-only features. If a script contains unsupported APIs, the Code Editor displays a warning. If you try to run such a script, it won't run. Instead, the **Script Run Status** task pane displays a warning message that says, "This script currently must be run on Excel for the web. Open the workbook in the browser then try again, or contact the script owner for help."
65+
66+
Using an older version of Excel to open workbooks with scripts shared in them has no effect on the script itself.
6567

6668
## See also
6769

0 commit comments

Comments
 (0)