Declare the class in the code that launches the userform, then pass the
class to the userform as a property. Here's a simple example of userform
properties:
http://peltiertech.com/Excel/PropertyProcedures.html
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. -
http://PeltierTech.com
_______
"axwack" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I created a class and a userform. The userform has certain fields of
> type dates, strings, etc. all of which I set a CLASS with propertieis.
> The class is created by the userform. After the user fills out the
> userform, I want the class so that I can use it within my worksheet
> workflow to calculate values for the worksheet.
>
> How do I get the class after the userform is closed? Does it exist in
> memory and how do I access it?
>