Object_Initialize Sub

Syntax

Private Sub Object_Initialize()
    ...
End Sub

Group

Declaration

Description

Object module initialization subroutine. Each time a new instance is created for a Object module the Object_Initialize sub is called. If Object_Initialize is not defined then no special initialization occurs.

NOTE: Object_Initialize is also called for the instance that is automatically created.

See also

Object Module, Object_Terminate