This question is for folks who have experience using Classes in VBA. I have done some OOP but not in VBA.
Why?Originally Posted by VBA Compiler
I have defined a Class, and am using an object of that class as a parameter in a public Sub of a Worksheet module. I get the message above when trying to compile. I cannot think of any reason that this should be prohibited. But I am not here to argue about it, I am here to see how to design around it.
Attached is a boiled-down example. See the code in Sheet1 and try to compile it. Is there a standard workaround for this?
Bookmarks