mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Fix UNC paths for ConvertFrom-ExcelSheet
This commit is contained in:
@@ -19,7 +19,7 @@ function ConvertFrom-ExcelSheet {
|
|||||||
[string[]]$AsDate = @()
|
[string[]]$AsDate = @()
|
||||||
)
|
)
|
||||||
|
|
||||||
$Path = (Resolve-Path $Path).Path
|
$Path = (Resolve-Path $Path).ProviderPath
|
||||||
$xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -ArgumentList $Path
|
$xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -ArgumentList $Path
|
||||||
$workbook = $xl.Workbook
|
$workbook = $xl.Workbook
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user