Set (statement)

<< Click to Display Table of Contents >>

Set (statement)

Set Object = [New] ObjectExpression

Or:

Set Object = Nothing

The first notation connects an object variable to an OLE object; the second severs the link.

See also: Dim, Static, section OLE Automation