Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using classes from an add-in

Status
Not open for further replies.

paschov

Technical User
Dec 27, 2002
1
US
I have created an XLA file with a bunch of classes that are used as random number generators. I have changed the instancing to PublicNotCreatable to be able to call on them from other spreadsheets. Then I created instances for each class in the XLA file along the lines of:

Public normal1 As New normal

I was wondering if there is a way to make them public, so I don't have to reference an existing instance of the class. I am assuming that this is a actually a property of PublicNotCreatable, and was wondering if I can create Public classes in Excel, without actually using VB proper.

Thanks,
Marc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top