The Microsoft Office Code Compatibility Inspector helps you troubleshoot compatibility issues in your Microsoft Visual Basic for Application (VBA) Macros and add-ins. Use this tool to inspect VBA code that you created in previous versions of Microsoft Office.