Share via


FormatCondition.Text Property

Returns or sets a String value specifying the text used by the conditional formatting rule.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Text As String
    Get
    Set
'Usage
Dim instance As FormatCondition
Dim value As String

value = instance.Text

instance.Text = value
string Text { get; set; }

Property Value

Type: System.String
String

Remarks

This property is ignored if the Type property is not set to xlTextString.

See Also

Reference

FormatCondition Interface

FormatCondition Members

Microsoft.Office.Interop.Excel Namespace