mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Merge latest changes
This commit is contained in:
@@ -370,7 +370,7 @@ function Import-Excel {
|
||||
$colHash = @{}
|
||||
$rowHash = @{}
|
||||
foreach ($cell in $Worksheet.Cells[$range]) {
|
||||
if ($cell.Value -ne $null) {$colHash[$cell.Start.Column]=1; $rowHash[$cell.Start.row]=1 }
|
||||
if ($null -ne $cell.Value ) {$colHash[$cell.Start.Column]=1; $rowHash[$cell.Start.row]=1 }
|
||||
}
|
||||
$rows = ( $StartRow..$EndRow ).Where({$rowHash[$_]})
|
||||
$columns = ($StartColumn..$EndColumn).Where({$colHash[$_]})
|
||||
|
||||
Reference in New Issue
Block a user