OLEObject.Value Method
Used to get or set a value of the object. The parameter is the name of the property to assign a new value to or to get the value.
Syntax
OLEObject.Value PropertyName, [params()], [ByValue]
Parameters | |
PropertyName |
|
params() (Optional) |
|
ByValue (Optional) |
The value property can now take a list of properties when assigning a value, i.e.,
OLEObject.Value(Name of Property as String, params() as Variant)=value.
If the optional parameter ByValue is True, property assignment is by value.