diff --git a/docs/resources/samples/table-samples.md b/docs/resources/samples/table-samples.md index f22443e0..351188ff 100644 --- a/docs/resources/samples/table-samples.md +++ b/docs/resources/samples/table-samples.md @@ -1,7 +1,7 @@ --- title: Table samples description: A collection of samples showing how to interact with Excel tables. -ms.date: 10/30/2023 +ms.date: 09/25/2024 ms.localizationpriority: medium --- @@ -45,13 +45,6 @@ function main(workbook: ExcelScript.Workbook) { } ``` -> [!TIP] -> 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. -> -> ```TypeScript -> workbook.addWorksheet().getRange("A1").copyFrom(table.getRange()); -> ``` - ### Filter out one value 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.