Search notes:
VBA operator: new
With
new
operator
creates an object
(sometimes, especially in other
programming languages
, referred to as instance) of a
class
and returns it.
Part of the object creation process is to call the class's
constructor
.
When using
new
, VBA eventually calls the
WinAPI
function
CoCreateInstanceEx()
.
See also
Object datatype
Object creation in VBA
,
createObject
VBA language
Index