A family of Microsoft relational database management systems designed for ease of use.
That's an excellent question, which I don't think has come up much before.
The short answer is that there is no explicit way to do that. Manually, you can check the modules behind all of your forms. Both orphaned Subs and Functions and Subs not attached to control events, will be listed at the top of the Declarations dropdown on the right side of the IDE.
That said, 3rd party tools like MZ-Tools can identify what it calls "Dead Code". That means there is a way to do it. However, it might be more efficient to just install a tool like that. MZ-Tools requires a paid license while other tools may be free.