LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tom Chau
 
Posts: n/a
Default 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

 
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Extract MS Excel Data embedded in MS Word qualityprocess Excel Discussion (Misc queries) 0 April 20th 06 05:52 PM
Please help with Statistics Functions Fonz Excel Worksheet Functions 4 April 7th 06 07:32 PM
Activate method of Worksheet class fails in Excel 2000 Chris Bloom Excel Discussion (Misc queries) 3 September 10th 05 12:05 AM
Message "class not registered" opening sheet with macros Excel 97 PlanetSavers Excel Discussion (Misc queries) 1 July 4th 05 06:48 PM


All times are GMT +1. The time now is 08:09 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"