This commit is contained in:
dfinke
2022-04-29 20:39:51 -04:00
parent a10ade898a
commit b634bf9d93
4 changed files with 59 additions and 0 deletions

View File

@@ -226,6 +226,8 @@
}
catch { throw "Failed importing the Excel workbook '$Path' with worksheet '$WorksheetName': $_"; return }
finally {
$EndRow = 0
$EndColumn = 0
if ($Path) { $stream.close(); $ExcelPackage.Dispose() }
}
}