This method stores an OLE Automation object in the Application object. Equivalent to put_Value for non-OLE objects.
HRESULT putref_Value(
BSTR bstrValue, |
//binary string that contains the name of the variable |
VARIANT var |
//VARIANT that contains the variable value |
); |