Validation.Formula2 Property
Returns the value or expression associated with the second part of a conditional format or data validation. Read-only String.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property Formula2 As String
Get
'Usage
Dim instance As Validation
Dim value As String
value = instance.Formula2
string Formula2 { get; }
Property Value
Type: System.String
Remarks
This property is used only when the data validation conditional format Operator property is xlBetween or xlNotBetween. It can be a constant value, a string value, a cell reference, or a formula.