This tool to examine legacy code may be downloaded from Download details: Office 2010 Tool: Compatibility Inspector.

From the download page:

"The Microsoft Office 2010 Compatibility Inspector compares existing (legacy) code against the Office 2010 object model by using a text search for known properties and methods that have changed. You can run the tool against specific projects. You can also mark those areas in the code where text search has identified a possible object model match. The comment will include description of what was found along with possible remediation link to online content or help."