+ Reply to Thread
Results 1 to 2 of 2

Object class in Excel VBA

  1. #1
    Tom Chau
    Guest

    Object class in Excel VBA

    Dear all,

    I hope to ask 2 questions on the Class Modules in Excel VBA.

    1) It seems that only 2 instancing property are available for Excel
    VBA: Private and PublicNotCreateable.

    May I ask whether there will be some ways to declare the class module
    as MultiUse or SingleUse?

    2) Is there any method to use the classname string to initialize the
    object. For example, we could do that by $className->new() in PERL.

    Currently I use a switch clause to dispatch the constructor for such
    PublicNoCreateable class but it need to modifiy each time a new class
    is added.


    Tom


  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667

    Class Module

    If you want more flexibility in class modules for Excel, you could make a DLL in another language such as VB6!
    Best regards,

    Ray

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1