diff --git a/AddConditionalFormatting.ps1 b/AddConditionalFormatting.ps1 index de6402f..61414cf 100644 --- a/AddConditionalFormatting.ps1 +++ b/AddConditionalFormatting.ps1 @@ -219,7 +219,7 @@ $ConditionValue = '"' + $ConditionValue +'"' } } - if ($PSBoundParameters.ContainsKey("$ConditionValue2")) { + if ($PSBoundParameters.ContainsKey("ConditionValue2")) { $number = $Null if ($ConditionValue -isnot [System.ValueType] -and [Double]::TryParse($ConditionValue2, [System.Globalization.NumberStyles]::Any, [System.Globalization.NumberFormatInfo]::CurrentInfo, [Ref]$number) ) { $ConditionValue2 = $number diff --git a/README.md b/README.md index 0b953d7..44c9557 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,10 @@ Install-Module ImportExcel # What's new 5.4 - Thank you to Conrad Agramont, Twitter: [@AGramont](https://twitter.com/@AGramont) for the `AddMultiWorkSheet.ps1` example. Much appreciated! +- Fixed several more bugs where parametrs were ignored if passed a zero value +- Merge-MultipleSheets is more robust. +- Set-ExcelRow and Set-ExcelColumn trap attempts to process a sheet with no rows/columns. +- Help has been proof-read . # What's new 5.3.4