I have an object instanced from a custom class.
I can refer to its properties from a VBA sub in either Word or Access.
Debug.Print Myobject.SomeProperty
However the same code in the Immediate Window results in:
Run-time Error '424': Object Required
(Word 2007)
Method Or Data Member Not Found
(Access 2007)
Is there something different about custom class objects and the Immediate Window?
I can refer to its properties from a VBA sub in either Word or Access.
Debug.Print Myobject.SomeProperty
However the same code in the Immediate Window results in:
Run-time Error '424': Object Required
(Word 2007)
Method Or Data Member Not Found
(Access 2007)
Is there something different about custom class objects and the Immediate Window?