mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-30 15:13:19 +00:00
More PS6 friendly tests. Help and pos param tweaks in Conditional Fmt
This commit is contained in:
@@ -729,7 +729,7 @@
|
||||
|
||||
foreach ($Name in $script:Header) {
|
||||
try {Add-CellValue -TargetCell $ws.Cells[$Row, $ColumnIndex] -CellValue $TargetData.$Name}
|
||||
catch {Write-Warning -Message "Could not insert the $Name property at Row $Row, Column $Column"}
|
||||
catch {Write-Warning -Message "Could not insert the '$Name' property at Row $Row, Column $ColumnIndex"}
|
||||
$ColumnIndex += 1
|
||||
}
|
||||
$ColumnIndex -= 1 # column index will be the last column whether isDataTypeValueType was true or false
|
||||
|
||||
Reference in New Issue
Block a user