mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Merge pull request #1031 from sporkabob/master
Fix UNC paths for ConvertFrom-ExcelSheet
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user