PDA

View Full Version : VBA OOp



chrisjones
07-30-2010, 08:27 AM
Please can someone answer my following questions

1. Can you use inheriatance in VBA
2. Can you use polymorphism in VBA
3. Can you define and use interfaces in VBA

Thanks in advance

Chris

Kenneth Hobs
07-30-2010, 08:39 AM
No, No, not sure what you mean.

Use vb.net if you want those things.

chrisjones
07-30-2010, 08:44 AM
its not that I need any of these features I am just trying to learn a little more about VBA.

To explain more about point no 3 -In java I can create interfaces with empty methods, if other class implement this interface they have to use define these methods listed in the interface. Is this possible to do in vba?