I\'m using an enum defined in a class module in Excel VBA. This has been working fine, but I\'ve started getting a compile error on every time I do a comparison on enum vari
This error does now and then, when no changes were made to the enum or its use or any code related. What worked for me is to make the move the enum from the Class to a Module I have called 'Common' and make the enum Public instead of Private.