Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
remember classes are objects and must be initialized.
in form2 either dim m_pd as NEW personaldata or add Form_Initialize() Set m_pd=new personaldata Further when you study implements: Create the properties GET/LET/SET in your BASE class. (dont use simple public variables) Then in the cust/supp class modules you can use the combo's in the top of the modulewindow to easily implement the derived classes props. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Hemant_india wrote in hi everybody Private m_pd As PersonalData Private Sub Form_Load() With m_pd Text1 = .Name Text2 = .Address End With End Sub Public Property Set PD(Data As PersonalData) Set m_pd = Data End Property |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement inside a SUMIF statement.... or alternative method | Excel Worksheet Functions | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions | |||
If statement and Isblank statement | Excel Worksheet Functions |