CompareColumns.Column2 Property
Returns or sets the table column associated with the second part of a compare columns conditional formatting rule.
Version Information
Version Added: Excel
Syntax
expression.Column2
expression A variable that represents a CompareColumns object.
Remarks
This property is used only when the Operator property is xlBetween or xlNotBetween. You can set this value to either a string representing the column name or an integer representing the column index. Valid integer inputs are 1 to N, where 1 represents the leftmost column and N the rightmost.