mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 15:53:32 +00:00
Fix for EndRow and EndColumn Parameters Ignored in Import-Excel #1194
This commit is contained in:
@@ -134,8 +134,11 @@
|
||||
|
||||
$xlBook = [Ordered]@{}
|
||||
foreach ($sheet in $Worksheet) {
|
||||
$EndRow = 0
|
||||
$EndColumn = 0
|
||||
if ($Worksheet.Count -gt 1 -or $Paths.Count -gt 1) {
|
||||
$EndRow = 0
|
||||
$EndColumn = 0
|
||||
}
|
||||
|
||||
$targetSheetname = $sheet.Name
|
||||
$xlBook["$targetSheetname"] = @()
|
||||
#region Get rows and columns
|
||||
|
||||
Reference in New Issue
Block a user