Add additional tests

This commit is contained in:
dfinke
2022-06-12 10:42:16 -04:00
parent ef35c4fca8
commit ab56ae4409
4 changed files with 26 additions and 6 deletions

View File

@@ -135,8 +135,13 @@
$xlBook = [Ordered]@{}
foreach ($sheet in $Worksheet) {
if ($Worksheet.Count -gt 1 -or $Paths.Count -gt 1) {
$EndRow = 0
$EndColumn = 0
<#
Needed under these conditions to handle sheets of different number of Row/Col
- When reading more than one xlsx file
- When reading more than one worksheet in the same file
#>
$EndRow = $null
$EndColumn = $null
}
$targetSheetname = $sheet.Name