If your required library is not in the References list:
If your code tries to use a tool from one of these libraries, but the library is not "checked" in your project references, VBA throws an error. install vba support library
✅ Trust access to the VBA project object model If your required library is not in the