When I use VBA with MS Access, I can decompile and recompile the code by adding a /decompile command switch to the command line in a shortcut (or I guess you could do it in the Start/Run window as well). This has the effect of cleaning up the code, and often reduces the file size considerably.
My document size has increased a lot since I've added a bunch of code, and I notice that previously deleted or renamed ActiveX controls still appear in the object box in the upper left of the VBA Editor, even though they have ceased to exist on the form. They don't show up in the Properties drop-down window, so I'm not suspecting they are lurking somewhere, hidden.
Is there a way to firm up or repair this code?