How do I find missing ref for User Defined Type not Defined when not highlighted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • accjcd123
    New Member
    • Jun 2010
    • 1

    How do I find missing ref for User Defined Type not Defined when not highlighted

    Hi. I'm getting a User Defined Type not defined error when attempting to compile. I've check all references and nothing is missing. No code is highlighted when the compile stops. The only other thing I could think of outside a missing reference would be the fact that I have some enumeration in my classes using IUnknown. Not sure where else to dig. Thanks for any help.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32662

    #2
    With so little information to go on I can only suggest you make a copy of your database and strip out modules one at a time until the problem goes away. You can try adding them back in one at a time again, to identify more precisely which module is causing you a problem.

    From there you can use a similar technique with the procedures and declarations of that module.

    General debugging assistance can be found at Debugging in VBA.

    Welcome to Bytes!

    Comment

    Working...