Results 1 to 3 of 3
  1. #1
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Collection class function (Office 2000)

    I'm writing a collection class for use in VBA and I had long believed that one of the drawbacks is the loss of the collection enumeration capability. Now I read in an old article that it is possible to create an enumeration function (VB5+) for such a class. So what's the real story? If it is possible, any online references would be appreciated.

    Alan

  2. #2
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Location
    Los Angeles, California, USA
    Posts
    705
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Collection class function (Office 2000)

    Fortunately the arcane property you have to set up has a distinctive (therefore easy-to-search) name: NewEnum. Just Google-search NewEnum collection class.

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Collection class function (Office 2000)

    Many thanks. Much easier when you know the magic word!

    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •