Compare Method Example

This example compares the active document with the document named "First Rev.doc" in the Draft folder.

ActiveDocument.Compare Name:="C:\Draft\First Rev.doc"