Fix stray $ in addConditionalFormatting. Updated readme

This commit is contained in:
jhoneill
2018-11-01 21:56:37 +00:00
parent d81c2055e9
commit c4ef920bdf
2 changed files with 5 additions and 1 deletions

View File

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

View File

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