Skip to content

Commit 85c9923

Browse files
author
github-actions
committed
Merge branch 'main' into live
2 parents 409c39e + 1f8416c commit 85c9923

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/resources/samples/copy-tables-combine.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: Combine data from multiple Excel tables into a single table
33
description: Learn how to use Office Scripts to combine data from multiple Excel tables into a single table.
4-
ms.date: 06/29/2021
4+
ms.date: 08/14/2025
55
ms.localizationpriority: medium
66
---
77

88
# Combine data from multiple Excel tables into a single table
99

10-
This sample combines data from multiple Excel tables into a single table that includes all the rows. It assumes that all tables being used have the same structure.
10+
This sample shows how to combine data from multiple Excel tables into a single table that includes all the rows. It assumes that all the tables being used have the same structure.
1111

1212
There are two variations of this script:
1313

@@ -49,7 +49,7 @@ function main(workbook: ExcelScript.Workbook) {
4949
let dataValues = table.getRangeBetweenHeaderAndTotal().getTexts();
5050
let rowCount = table.getRowCount();
5151

52-
// If the table is not empty, add its rows to the combined table.
52+
// If the table isn't empty, add its rows to the combined table.
5353
if (rowCount > 0) {
5454
combinedTable.addRows(-1, dataValues);
5555
}

0 commit comments

Comments
 (0)