It is always necessary to release an iDispatch variable if it is referencing to an object. To do so assign Nothing to the iDispatch variable.
This destroys an iDispatch variable, discontinuing its association with a specific object.
This in turn releases all system and memory resources associated with the object when no more object variables refer to it.
iDispatchVariable = Nothing