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

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -