Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to pass a variable into a custom class upon Initialization, so the
initialization header would look like this: Private Sub Class_Initialize(rcdEVM as ADODB.Recordset) But it seems I cannot do this as I need a custom event handler. The MSDN was a bit cryptic on how this was done, so does anyone have experience in this matter that can help? Thank you! -- ********************* J Streger MS Office Master 2000 ed. MS Project White Belt 2003 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
VB/VBA does not support such constructors.
Youi will need to write some property/method in the class which performs this function, then call it. NickHK "J Streger" wrote in message ... I want to pass a variable into a custom class upon Initialization, so the initialization header would look like this: Private Sub Class_Initialize(rcdEVM as ADODB.Recordset) But it seems I cannot do this as I need a custom event handler. The MSDN was a bit cryptic on how this was done, so does anyone have experience in this matter that can help? Thank you! -- ********************* J Streger MS Office Master 2000 ed. MS Project White Belt 2003 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Class modules: parametrize class object fields | Excel Programming | |||
Class Modules | Excel Programming | |||
Basic question - modules and class modules - what's the difference? | Excel Programming | |||
Class Modules | Excel Programming | |||
Class Modules vs Modules | Excel Programming |