excel - Additional methods in a class module implementing an interface in VBA -
i write vba macro microsoft excel 2010.
some of modules in project cry out subclasses, understood inheritance not supported.
knowing that, went hard way , implemented methods again in each module using interface.
however, experience method occures in 1 of modules (but not in interface) throws exception:
method or data member not found!
i not entirely sure have feeling somehow related interface.
therefore i'd know following:
- when implementing interface in module in vba, still possible write additional public subs module?
- if it's not possible, correct pattern append functionality module implements interface?
if declare variable interface class, can call methods/properties of interface, regardless of other methods/properties exposed actual object type itself.
Comments
Post a Comment