(defined/duplicated across libraries being referenced). For example, it's already defined in one of the Blackbaud VBA libraries as well as the Microsoft Office Object libraries, and both are being referenced. The following steps should resolve the issue:
- Check all references to ensure that no libraries are missing or mis-located.
- If the Microsoft Office Object library is not needed then remove the reference or prefix the function with VBA. For example use VBA.date instead of date in your code.