IFormatConditions.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Type As XlFormatConditionType, _
Operator As Object, _
Formula1 As Object, _
Formula2 As Object, _
String As Object, _
TextOperator As Object, _
DateOperator As Object, _
ScopeType As Object _
) As Object
'Usage
Dim instance As IFormatConditions
Dim Type As XlFormatConditionType
Dim Operator As Object
Dim Formula1 As Object
Dim Formula2 As Object
Dim String As Object
Dim TextOperator As Object
Dim DateOperator As Object
Dim ScopeType As Object
Dim returnValue As Object
returnValue = instance.Add(Type, Operator, _
Formula1, Formula2, String, TextOperator, _
DateOperator, ScopeType)
Object Add(
XlFormatConditionType Type,
Object Operator,
Object Formula1,
Object Formula2,
Object String,
Object TextOperator,
Object DateOperator,
Object ScopeType
)
Parameters
- Operator
Type: System.Object
- Formula1
Type: System.Object
- Formula2
Type: System.Object
- String
Type: System.Object
- TextOperator
Type: System.Object
- DateOperator
Type: System.Object
- ScopeType
Type: System.Object
Return Value
Type: System.Object