More PS6 friendly tests. Help and pos param tweaks in Conditional Fmt

This commit is contained in:
jhoneill
2018-10-15 13:14:14 +01:00
parent 01c58faea8
commit d26f0c66dd
6 changed files with 80 additions and 34 deletions

View File

@@ -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