Visual Basic Method Notes: accValue
The Object Description Language (ODL) file, Oleacc.odl, contains information that differs from the C/C++ implementation. The file Oleacc.odl contains the following definition for the version that sets the property of the function.
[hidden, propput, id(DISPID_ACC_VALUE)]
HRESULT accValue(
[in, optional] VARIANT varChild,
[in] BSTR szValue);
Although the varChild parameter is listed as optional in the ODL file and the object browser, you must include it when calling the property-setting version of accValue.