Compartilhar via


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

Return Value

Type: System.Object

See Also

Reference

IFormatConditions Interface

IFormatConditions Members

Microsoft.Office.Interop.Excel Namespace