Search code examples
ms-accessvbaocx

How do I find where a missing reference is used in MS Access


I have a missing reference listed in my References list (in the VBA Code view). It's a reference to an OCX for a product that we no longer use.

I'm fine with removing(unchecking) the reference, but I'm wondering if that is going to come back to bite me.

Is there a way to find out in which forms/reports it might have been used?

Is removing it and then doing a compile of the MDB sufficient?


Solution

  • I believe if you are using Option Strict, then the compile should catch any issues where you have referenced an object that no longer exists