NamedRange::Text Property

 

Gets the text for the NamedRange control.

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

property Object^ Text {
	Object^ get();
}

Property Value

Type: System::Object^

The text for the NamedRange control.

Returns null for NamedRange controls with multiple cells.

The following code example compares how the Text and Value2 properties differ for cells that contain formatted numbers.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: