mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-04 17:43:48 +00:00
Major linting push
This commit is contained in:
@@ -10,10 +10,10 @@ $hash = @{ }
|
||||
|
||||
$e = Open-ExcelPackage $path
|
||||
|
||||
foreach ($sheet in $e.workbook.worksheets) {
|
||||
$hash[$sheet.name] = Import-Excel -ExcelPackage $e -WorksheetName $sheet.name
|
||||
}
|
||||
foreach ($sheet in $e.workbook.worksheets) {
|
||||
$hash[$sheet.name] = Import-Excel -ExcelPackage $e -WorksheetName $sheet.name
|
||||
}
|
||||
|
||||
Close-ExcelPackage $e -NoSave
|
||||
Close-ExcelPackage $e -NoSave
|
||||
|
||||
$hash
|
||||
@@ -1,4 +1,4 @@
|
||||
$xlfile = "$env:TEMP\MultipleSheets.xlsx"
|
||||
|
||||
.\GenerateXlsx.ps1 $xlfile
|
||||
.\Get-ExcelSheets.ps1 $xlfile
|
||||
.\GenerateXlsx.ps1 $xlfile
|
||||
.\Get-ExcelSheets.ps1 $xlfile
|
||||
Reference in New Issue
Block a user