Share via


Range.FormulaLabel Property

Returns or sets the formula label type for the specified range.

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

Syntax

'Declaration
Property FormulaLabel As XlFormulaLabel
    Get
    Set
'Usage
Dim instance As Range
Dim value As XlFormulaLabel

value = instance.FormulaLabel

instance.FormulaLabel = value
XlFormulaLabel FormulaLabel { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlFormulaLabel

Remarks

The return value of this property can be xlNone if the range contains no labels, or one of the following XlFormulaLabel constants:

  • xlColumnLabels

  • xlMixedLabels

  • xlNoLabels

  • xlRowLabels

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace