Skip to content

Commit f5e755b

Browse files
authored
Merge pull request #766 from OfficeDev/main
[admin] Publish
2 parents f658188 + 3865557 commit f5e755b

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

docs/resources/samples/table-samples.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Table samples
33
description: A collection of samples showing how to interact with Excel tables.
4-
ms.date: 10/30/2023
4+
ms.date: 09/25/2024
55
ms.localizationpriority: medium
66
---
77

@@ -45,13 +45,6 @@ function main(workbook: ExcelScript.Workbook) {
4545
}
4646
```
4747

48-
> [!TIP]
49-
> Copy the filtered information across the workbook by using `Range.copyFrom`. Add the following line to the end of the script to create a new worksheet with the filtered data.
50-
>
51-
> ```TypeScript
52-
> workbook.addWorksheet().getRange("A1").copyFrom(table.getRange());
53-
> ```
54-
5548
### Filter out one value
5649

5750
The previous sample filters a table based on a list of included values. To exclude a particular value from the table, you need to provide the list of every other value in the column. This sample uses a function `columnToSet` to convert a column into a set of unique values. That set then has the excluded value ("Station-1") removed.

docs/testing/platform-limits.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Platform limits and requirements with Office Scripts
33
description: Resource limits and browser support for Office Scripts when used with Excel.
44
ms.topic: limits-and-quotas
5-
ms.date: 02/08/2024
5+
ms.date: 10/03/2024
66
ms.localizationpriority: medium
77
---
88

@@ -30,13 +30,15 @@ Excel on the web has the following limitations when making calls to the workbook
3030
- Requests and responses are limited to **5MB**.
3131
- A range is limited to **five million cells**.
3232

33+
When you exceed one of the Excel data limits, you receive this error message: "The response payload size has exceeded the limit."
34+
3335
If you're encountering errors when dealing with large datasets, try using multiple smaller ranges instead of larger ranges. For an example, see the [Write a large dataset](../resources/samples/write-large-dataset.md) sample. You can also use APIs like [Range.getSpecialCells](/javascript/api/office-scripts/excelscript/excelscript.range#excelscript-excelscript-range-getspecialcells-member(1)) to target specific cells instead of large ranges.
3436

3537
Excel limits that aren't specific to Office Scripts can be found in the article [Excel specifications and limits](https://support.microsoft.com/office/1672b34d-7043-467e-8e27-269d656771c3).
3638

3739
### Power Automate
3840

39-
The following limitations with the Power Automate platform are the ones you'll most likely encounter.
41+
The following limitations with the Power Automate platform are the ones you're most likely to encounter.
4042

4143
- Each user is limited to **1,600 calls** to the Run script action per day. This limit resets at 12:00 AM UTC.
4244
- There's a **120-second timeout** for [synchronous Power Automate operations](/power-automate/limits-and-config#timeout). For long-running scripts, you must either [optimize your script](../develop/web-client-performance.md) or [split your Excel automation into multiple script calls](../resources/samples/write-large-dataset.md#sample-2-write-data-in-batches-from-a-power-automate-flow).
@@ -89,7 +91,7 @@ Your browser needs third-party cookies enabled to show the **Automate** tab in E
8991

9092
[Conditional Access](/azure/active-directory/conditional-access/overview) policies restrict access to SharePoint and OneDrive for [unmanaged devices](/sharepoint/control-access-from-unmanaged-devices). If your device isn't managed by the tenant, you may not have access to specific scripts, or may only be able to access them through the browser.
9193

92-
If you script is blocked by Conditional Access policies, you'll receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device.
94+
If you script is blocked by Conditional Access policies, you receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device.
9395

9496
- "Due to organizational policies, you can’t access this resource from this untrusted device."
9597
- "We can't find this script. It may have been deleted by another user." (If your version of Excel is older.)

0 commit comments

Comments
 (0)