mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-08 19:43:14 +00:00
Added .Invoke, required for versions < 4.0
This commit is contained in:
@@ -56,7 +56,7 @@ function Export-Excel {
|
||||
|
||||
foreach($format in $ConditionalFormat ) {
|
||||
$target = "Add$($format.Formatter)"
|
||||
$rule = ($ws.ConditionalFormatting).$target($format.Address, $format.IconType)
|
||||
$rule = ($ws.ConditionalFormatting).$target.Invoke($format.Address, $format.IconType)
|
||||
$rule.Reverse = $format.Reverse
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user