In the VBA window, go to Tools --> References
and make sure that the same libraries are enabled for all computers. Also make sure all active libraries are in the same order from top to bottom.
Many libraries are "standardized," but perhaps they need to be switched. Or, you may need to reinstall the library link due to functional interference. Perhaps the library is completely absent, but I doubt that it is, because it is a fairly standard set, and you do not know that he was messing with it.
This is a typical problem and, as a rule, is not considered too heavy a load on your distribution clientele. If so, you can redesign your code to use fewer links; or you can download the necessary libraries programmatically (but I have never tried this).
I suggest including Option Explicit
at the beginning of all modules. This problem is a bit like refusing to declare variables; and I think this requirement may vary depending on the setting. Option Explicit
will force all variables to be declared, which is generally beneficial and may result in all client installations acting the same.
source share