CreateObject

C

Craig Buchanan

I would like to use CreateObject() to dynamically create a class in my
access project. Assuming that my project is named "MyProject" and the class
name is "Folders", shouldn't I be able to do something like:

Dim F as Object
Set F = CreateObject("MyProject.Folders")

Obviously, it doesn't or i wouldn't be posting this question...

Is there a way to do this?

Thanks,

Craig Buchanan
 
Top