New Operator

Syntax

New objtype

Group

Operator

Description

Returns a new instance of objtype.

Parameters

Parameters Description
objtype This is the new object's type.

Example


Sub Main
    Dim obj As Object
    Set obj = New Dictionary
End Sub

See also

Objects