In Visual Basic 6.0 / Visual Basic for Applications, is there a way to have an interface extend another interface? For example, suppose that there is a class module named InterfaceA that contains the following code:
Public Sub MyMethod()
Now suppose that there is a class module named InterfaceB that contains the following code:
Public Sub InterfaceA_MyMethod()
When I write another class module that contains the following code:
Public Sub InterfaceB_InterfaceA_MyMethod()
I get the following error message when I compile:
Object module needs to implement 'InterfaceA_MyMethod' for interface 'InterfaceB'
Could you please tell me what I am doing wrong? Thank you.