I've tried similar things. I've declared a public objectCount variable in a normal module together with
The results have not been what I expected. I'm not sure if the counting technique flawed or my expectations are wrong.![]()
Private Sub Class_Initialize() objectCount = objectCount + 1 End Sub Private Sub Class_Terminate() objectCount = objectCount - 1 End Sub
The technique in the previous posts was used to create a "null" for my class, but (as you noted) it's constant.
Good luck with the problem.
Bookmarks