Yes, I also liked the Word built in feature to compare documents. You will find this in third part of the ongoing series
Automating Word Documents
here is the simple peice of code to compare two documents -
Automating Word Documents
here is the simple peice of code to compare two documents -
Code:
Doc1= "c:\Test1.docx"
Doc2= "c:\Test2.docx"
set oWord = createobject("Word.Application")
oWord.Visible =true
set oCompared = oWord.Documents.Open(Doc2)
oCompared.Compare(Doc1)
oCompared.Close