Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Using Multiple Interfaces for a Single Class

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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Using Multiple Interfaces for a Single Class

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Using Multiple Interfaces for a Single 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.

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


wrote :

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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing single pages from multiple worksheets in a single print job [email protected] Excel Discussion (Misc queries) 2 April 27th 07 06:11 PM
Find Multiple instances of Single Criterion in Row & Return To a Single Col Sam via OfficeKB.com Excel Worksheet Functions 16 May 10th 06 03:00 AM
Ensure single class instance but with multiple references to it [email protected] Excel Programming 4 January 6th 06 02:31 AM
Interfaces for VBA Forms R Avery Excel Programming 4 September 7th 04 09:37 PM
Using Excel Interfaces R. L. Alan Jordan Excel Programming 4 July 28th 03 06:42 AM


All times are GMT +1. The time now is 02:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"