Merge pull request #1031 from sporkabob/master

Fix UNC paths for ConvertFrom-ExcelSheet
This commit is contained in:
Doug Finke
2021-05-13 15:54:39 -04:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ function ConvertFrom-ExcelSheet {
[string[]]$AsDate = @()
)
$Path = (Resolve-Path $Path).Path
$Path = (Resolve-Path $Path).ProviderPath
$xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -ArgumentList $Path
$workbook = $xl.Workbook