Fraga
Fraga

Reputation: 1451

Open MS Word in compare mode programatically

I want to open two documents in compare mode programatically.

Something like:

Process.Start("winword.exe", string.Format("/n /compare \"Document.docx\" \"Document_V2.docx\""

Is that possible?

Upvotes: 0

Views: 645

Answers (1)

gandjustas
gandjustas

Reputation: 1955

It's possible with COM automation interfaces.

See _Application.CompareDocuments

Upvotes: 2

Related Questions