Skip to content

Commit dfb2df0

Browse files
Merge pull request #598 from OfficeDev/main
[Admin] Publish
2 parents f652476 + 0bfbf5a commit dfb2df0

16 files changed

+22
-11
lines changed

docs/develop/best-practices.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
22
title: Best practices in Office Scripts
33
description: How to prevent common problems and write robust Office Scripts to handle unexpected input or data.
4-
ms.date: 10/01/2022
4+
ms.topic: best-practice
5+
ms.date: 03/27/2023
56
ms.localizationpriority: medium
67
---
78

89
# Best practices in Office Scripts
910

1011
These patterns and practices are designed to help your scripts run successfully every time. Use them to avoid common pitfalls as you start automating your Excel workflow.
1112

12-
## Use the Action Recorder to learn new features (web-only)
13+
## Use the Action Recorder to learn new features
1314

1415
Excel does a lot of things. Most of them can be scripted. The Action Recorder records your Excel actions and translates them into code. This is the easiest way to learn about how different features work with Office Scripts. If you need code for a specific action, switch to the Action Recorder, perform the actions, select **Copy as code**, and paste the resulting code into your script.
1516

docs/develop/external-calls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Any external API call fails when a script is run with Power Automate. This is a
8484
You'll have to use [HTTP with Azure AD](/connectors/webcontents/) or other equivalent actions to pull data from or push it to an external service.
8585
8686
> [!WARNING]
87-
> External calls made through the Power Automate [Excel Online connector](/connectors/excelonlinebusiness) fail in order to help uphold existing data loss prevention policies. However, scripts that are run through Power Automate are done so outside of your organization, and outside of your organization's firewalls. For additional protection from malicious users in this external environment, your admin can control the use of Office Scripts. Your admin can either disable the Excel Online connector in Power Automate or turn off Office Scripts for Excel on the web through the [Office Scripts administrator controls](/microsoft-365/admin/manage/manage-office-scripts-settings).
87+
> External calls made through the Power Automate [Excel Online connector](/connectors/excelonlinebusiness) fail in order to help uphold existing data loss prevention policies. However, scripts that are run through Power Automate are done so outside of your organization, and outside of your organization's firewalls. For additional protection from malicious users in this external environment, your admin can control the use of Office Scripts. Your admin can either disable the Excel Online connector in Power Automate or turn off Office Scripts for Excel through the [Office Scripts administrator controls](/microsoft-365/admin/manage/manage-office-scripts-settings).
8888
8989
## See also
9090

docs/develop/power-automate-integration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Run Office Scripts with Power Automate
33
description: How to get Office Scripts for Excel working with a Power Automate workflow.
4+
ms.topic: integration
45
ms.date: 12/19/2022
56
ms.localizationpriority: medium
67
---

docs/develop/scripting-fundamentals.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Fundamentals for Office Scripts in Excel
33
description: Object model information and other basics to learn before writing Office Scripts.
4+
ms.topic: get-started
45
ms.date: 10/01/2022
56
ms.localizationpriority: high
67
---

docs/develop/vscode-for-scripts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Visual Studio Code for Office Scripts (preview)
33
description: How to setup the Office Scripts Code Editor to connect with VS Code for the Web.
4+
ms.topic: integration
45
ms.date: 11/04/2022
56
ms.localizationpriority: medium
67
---

docs/docfx.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
"testing/*.md": "excel"
6060
},
6161
"ms.topic": {
62+
"resources/samples/*.md": "sample",
63+
"resources/scenarios/*.md": "sample",
6264
"tutorials/*.md": "tutorial"
6365
},
6466
"ms.custom": {

docs/includes/platform-requirements.md

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

33
1. Excel for Windows (version 2210 or higher), Excel for Mac, or Excel on the web.
4-
1. The [Action Recorder](../overview/excel.md#action-recorder-web-only) is only available in Excel on the web.
54
1. OneDrive for Business.
65
1. Any commercial or educational Microsoft 365 license with access to the Microsoft 365 Office desktop apps, such as:
76
- Office 365 Business
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
| | Excel on the web | Excel for Windows | Excel for Mac | Excel for iOS | Other Office products | Power Automate |
22
|-|-|-|-|-|-|-|
33
| **Office Scripts** | Yes | Yes | Yes | No | No | Yes |
4-
| **Office Scripts Action Recorder** | Yes | No | No | No | No | No |
4+
| **Office Scripts Action Recorder** | Yes | Yes | Yes | No | No | No |
55
| **VBA macros** | No | Yes | Yes | No | Yes | No |
66
| **Office Add-ins** | Yes | Yes | Yes | Yes | Yes | No |
77
| **COM Add-ins** | No | Yes | Yes | No | Yes | No |

docs/overview/excel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
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: 03/10/2023
5+
ms.date: 03/27/2023
66
ms.localizationpriority: high
77
---
88

99
# Office Scripts in Excel
1010

11-
Office Scripts in Excel let you automate your day-to-day tasks. You can create and edit scripts with the Code Editor. Run a series of Excel steps with a single button. Then, share that script with coworkers so everyone can improve their workflow. Inside Excel on the web, you have an additional tool: the Action Recorder. This turns your manual steps into Office Scripts without having to look at any code.
11+
Office Scripts in Excel let you automate your day-to-day tasks. Use the Action Recorder to turn manual steps into reusable scripts. Edit those scripts or create new ones with the Code Editor. Let others in the workbook run these scripts with a single button. Then, share them with coworkers so everyone can improve their workflow.
1212

1313
This series of documents teaches you how to use these tools. You'll find a wealth of samples covering different Excel scenarios. Use the tutorials to introduce yourself to the Action Recorder and Code Editor. These provide step-by-step guidance on how to record your frequent Excel actions, edit those scripts, and create new scripts from scratch.
1414

docs/resources/add-ins-differences.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Differences between Office Scripts and Office Add-ins
33
description: The behavior and API differences between Office Scripts and Office Add-ins.
4+
ms.topic: product-comparison
45
ms.date: 02/13/2023
56
ms.localizationpriority: medium
67
---

0 commit comments

Comments
 (0)