¡@

Home 

c# Programming Glossary: m_blninitialized

Is there a way to overload the constructor / initialize procedure for a class in VBA?

http://stackoverflow.com/questions/1731052/is-there-a-way-to-overload-the-constructor-initialize-procedure-for-a-class-in

basic example might look like this Option Explicit Private m_blnInitialized As Boolean Private m_lngID As Long Private m_strFirstName As.. Optional ByVal someOtherThing As String vbNullString If m_blnInitialized Then Me.Clear m_lngID ID m_strFirstName SomeLookUp If LenB someOtherThing.. If LenB someOtherThing Then ''Do something here. End If m_blnInitialized True End Sub Public Property Get ID As Long If Not m_blnInitialized..