Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

'Usage
Dim range1 As Range

Dim returnValue As XlFormulaLabel
returnValue = range1.FormulaLabel

Dim sampleValue As XlFormulaLabel
range1.FormulaLabel = sampleValue

property XlFormulaLabel^ FormulaLabel{
	XlFormulaLabel^ get();
	Void set(XlFormulaLabel^);
}
public XlFormulaLabel get_FormulaLabel();
public void set_FormulaLabel(XlFormulaLabel);
function get FormulaLabel() : XlFormulaLabel;
function set FormulaLabel(XlFormulaLabel);

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft