![]() |
Class modules Custom initialization Line
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 |
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 |
All times are GMT +1. The time now is 03:38 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com