mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-26 05:03:32 +00:00
Tider errors for file open on import; password tests
This commit is contained in:
@@ -55,7 +55,7 @@ Describe "Number format expansion and setting" {
|
||||
Remove-Item -Path $path -ErrorAction SilentlyContinue
|
||||
$n = [datetime]::Now.ToOADate()
|
||||
|
||||
$excel = 1..32 | ForEach-Object {$n} | Export-Excel -Path $path -PassThru
|
||||
$excel = 1..32 | ForEach-Object {$n} | Export-Excel -Path $path -show -WorksheetName s2 -PassThru
|
||||
$ws = $excel.Workbook.Worksheets[1]
|
||||
Set-Format -WorkSheet $ws -Range "A1" -numberFormat 'General'
|
||||
Set-Format -WorkSheet $ws -Range "A2" -numberFormat 'Number'
|
||||
|
||||
Reference in New Issue
Block a user