Microsoft Access
VBA: “Name Conflicts with existing module, project or object library” when adding references

A client came to use with the following error when trying to add an object library reference:

The client was trying to add the Microsoft Outlook Object Library using Tools -< References:

The conflict occurred because the application had a preexisting module named Outlook, which is the same as the namespace that would be used by adding the library. The resolution was to rename the existing object to something else – in this case, we instructed the client to rename the module to MSOutlook:
