Using Multiple Interfaces for a Single Class

  • Thread starter Thread starter jchauvin
  • Start date Start date
J

jchauvin

Does Microsoft Excel 2003 support the use of multiple interfaces for a
single class? For example, can I select which interface to use (or
override the default interface) when creating a new instance of the
class.? What I am trying to do is use multiple interfaces to expose a
subsets of properties contain in a specific class

Thanks,

John C.
 
According to Excel's documentation, the Implements statement must be
contained within the Class. What I want to do is use a different
Implements statement for the same Class code without having to
duplicate the Class several times. There does not appear to be a way
to override the Interface statement in the Class when creating a new
instance of the Class.
 
yep that would be correct, e.g.:

baseclass

derived class
implements baseclass

i'm sure i've known a way to give to give an instance
it's own classname at runtime.. can't remember nor find how.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top