mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-10 21:33:16 +00:00
Changed to IsWellFormedUriString . Can pass in a uri from csv
This commit is contained in:
@@ -465,7 +465,8 @@
|
||||
#Write-Verbose "Cell '$Row`:$ColumnIndex' header '$Name' add value '$_' as formula"
|
||||
break
|
||||
}
|
||||
{ $_ -is [Uri] } {
|
||||
#{ $_ -is [Uri] } {
|
||||
{[System.Uri]::IsWellFormedUriString($_, [System.UriKind]::Absolute)} {
|
||||
# Save a hyperlink
|
||||
$TargetCell.Value = $_.AbsoluteUri
|
||||
$TargetCell.HyperLink = $_
|
||||
|
||||
Reference in New Issue
Block a user