View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Class modules Custom initialization Line

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