NamedRange.set_Value(Object, Object) Method

Definition

Sets the value of the NamedRange control.

public void set_Value (object rangeValueDataType, object arg1);
abstract member set_Value : obj * obj -> unit
Public Sub set_Value (Optional rangeValueDataType As Object, Optional arg1 As Object)

Parameters

rangeValueDataType
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.

arg1
Object

Applies to