mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Compare commits
1 Commits
master
...
add-spectr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b67801e983 |
@@ -37,7 +37,8 @@
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[String]$Password,
|
||||
[Int[]]$ImportColumns,
|
||||
[Switch]$Raw
|
||||
[Switch]$Raw,
|
||||
[Switch]$UseSpectre
|
||||
)
|
||||
end {
|
||||
$sw = [System.Diagnostics.Stopwatch]::StartNew()
|
||||
@@ -252,6 +253,9 @@
|
||||
$entry.Value
|
||||
}
|
||||
}
|
||||
elseif ($UseSpectre) {
|
||||
$xlBook | Format-SpectreTable
|
||||
}
|
||||
elseif ($Worksheet.Count -eq 1) {
|
||||
$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