How to set “Show both” as default in word compare using add-ins RRS feed

  • Question

  • I am using add-ins on office 365, here when I compare 2 documents which shows compared result with first option(Hide source document) selected always, but it should show "Show both", since its managed in code. Please check below.

    wordApp.ActiveWindow.ShowSourceDocuments = Office.WdShowSourceDocuments.wdShowSourceDocumentsBoth;

    How to set "Show both" always. See in word menu, Review-Compare-Show source documents. Also check url, I have raised question with microsoft link Stackoverflow

    Please note: It works perfect in Word2016

    Tuesday, March 19, 2019 4:58 AM