When you create VB or VBA programs, it is strongly recommended to specify the object type.
For example, you should use:
Dim cls As PdOOM.Class
Instead of:
Dim cls
If you do not specify object type, you may encounter problems when you execute your program and debugging can be really difficult.