Compare VBA Modules.
Complex spreadsheet models contains a lot of Visual Basic code. WCT allows you to compare VBA code between 2 selected workbooks and merge differences.
To compare VBA Modules in your should use the VBA Modules ribbon button in the Excel 2007/2010:
Or the VBA Modules item in the Compare menu in the Excel 2003:
Workbook Comparison Tool uses direct access to the Visual Basic project, so you should have the option Trust access to Visual Basic project enabled.
To start comparison you must select workbooks which will be compared:
WCT processes VBA Modules in both workbooks and displays comparison report.
All differences in this report can be easily merged using navigation toolbar in the Comparison Report dialog:
The first 4 blue buttons allow to navigate between found differences. You can go to the: If all these buttons are disabled in your report - selected modules are identical.
Next 3 buttons are used to merge differences:
Complete information about all toolbar buttons - VBA Comparison Report Commands topic.
See Also:
More information on merging VBA Code you can find in the How to merge VBA Code topic.
How to create a report with differences found in the VBA Code topic explains how to save differences in the HTML format.