mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
wip
This commit is contained in:
@@ -37,7 +37,8 @@
|
|||||||
[ValidateNotNullOrEmpty()]
|
[ValidateNotNullOrEmpty()]
|
||||||
[String]$Password,
|
[String]$Password,
|
||||||
[Int[]]$ImportColumns,
|
[Int[]]$ImportColumns,
|
||||||
[Switch]$Raw
|
[Switch]$Raw,
|
||||||
|
[Switch]$UseSpectre
|
||||||
)
|
)
|
||||||
end {
|
end {
|
||||||
$sw = [System.Diagnostics.Stopwatch]::StartNew()
|
$sw = [System.Diagnostics.Stopwatch]::StartNew()
|
||||||
@@ -252,6 +253,9 @@
|
|||||||
$entry.Value
|
$entry.Value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elseif ($UseSpectre) {
|
||||||
|
$xlBook | Format-SpectreTable
|
||||||
|
}
|
||||||
elseif ($Worksheet.Count -eq 1) {
|
elseif ($Worksheet.Count -eq 1) {
|
||||||
$xlBook["$targetSheetname"]
|
$xlBook["$targetSheetname"]
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
__tests__/ImportExcelTests/TestData-Tables.xlsx
Normal file
BIN
__tests__/ImportExcelTests/TestData-Tables.xlsx
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user