The Remove method removes a Reference object from the References collection.
Syntax
object.Remove reference
The Remove method has the following arguments.
Argument | Description |
---|---|
object | A string expression that evaluates to the References collection. |
reference | The Reference object that represents the reference you wish to remove. |
Remarks
To determine the name of the Reference object you wish to remove, check the Project/Library box in the Object Browser. The names of all references that are currently set appear there. These names correspond to the value of the Name property of a Reference object.