diff --git a/AddConditionalFormatting.ps1 b/AddConditionalFormatting.ps1 index e39f3cd..93fc1ca 100644 --- a/AddConditionalFormatting.ps1 +++ b/AddConditionalFormatting.ps1 @@ -99,7 +99,7 @@ [Alias("Range")] $Address , #The worksheet where the format is to be applied - [OfficeOpenX1ml.ExcelWorksheet]$WorkSheet , + [OfficeOpenXml.ExcelWorksheet]$WorkSheet , #A standard named-rule - Top / Bottom / Less than / Greater than / Contains etc. [Parameter(Mandatory = $true, ParameterSetName = "NamedRule", Position = 1)] [OfficeOpenXml.ConditionalFormatting.eExcelConditionalFormattingRuleType]$RuleType ,