Compare and merge Microsoft® Excel® worksheets, names and VBA Projects
Using xlCompare from the command line
Using xlCompare from the command line
In addition to the tool present in the Start Menu, xlCompare can be called from the Command Line. This allows to run comparison for Excel files from the external application.
To compare 2 files from the command line you should use the following syntax:
wct_ui.exe "path to first workbook" "path to the second workbook" { /w | /n | /vba }
  • /w - compare worksheets
  • /n - compare names
  • /vba - compare vba modules
Please note, usually you should specify full path to the wct_ui.exe utility. If xlCompare is installed into the default location, it looks like this:
C:\Program Files\Spreadsheet Tools\Workbook Comparison Tool\wct_ui.exe