Collapse the table of content
Expand the table of content
Expand Minimize

NamedRange.get_Value Method

Gets the value of the NamedRange control.

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

Object get_Value(
	Object rangeValueDataType


Type: System.Object
One of the XlRangeValueDataType values that specifies the data type of the range value. The default is xlRangeValueDefault. This parameter is optional in Visual Basic.

Return Value

Type: System.Object
The value of the NamedRange control.

If you do not need to specify the RangeValueDataType parameter, you can use the Value property instead of this method.

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft