none
Is it possible to turn on "Track Changes" function in Word 2016? RRS feed

  • Question

  • Hi, 

    I have over 1800 .docx files in a SharePoint Online Document Library.  The online version of Word doesn't have the Track Changes in the menu bar.  If I downloaded all these .docx to my local drive then I would like to know if there is C# coding to turn on the Track Changes feature programmatically for all 1800 file?Thank you.


    Thank you

    • Moved by CoolDadTx Friday, September 8, 2017 5:25 PM Office related
    Thursday, September 7, 2017 7:55 PM

Answers

  • suggest u try this forum

    https://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev

    • Marked as answer by laJasmine Thursday, September 14, 2017 4:47 PM
    Friday, September 8, 2017 3:04 AM
  • Hello,

    You could use automate Word application to open these documents and then use Document.TrackRevisions Property (Word) to turn on TrackChanges. 

    E.g.

    using Word = Microsoft.Office.Interop.Word;
    
                Word.Application application = new Word.Application();
                Word.Document doc=application.Documents.Open(filePath);
                doc.TrackRevisions = true;
                doc.Close(true);
                application.Quit();

    For more information about automating Word application, you could visit How to automate Microsoft Word to create a new document by using Visual C#

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by laJasmine Thursday, September 14, 2017 4:47 PM
    Thursday, September 14, 2017 2:54 AM
    Moderator

All replies

  • suggest u try this forum

    https://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev

    • Marked as answer by laJasmine Thursday, September 14, 2017 4:47 PM
    Friday, September 8, 2017 3:04 AM
  • Hello,

    You could use automate Word application to open these documents and then use Document.TrackRevisions Property (Word) to turn on TrackChanges. 

    E.g.

    using Word = Microsoft.Office.Interop.Word;
    
                Word.Application application = new Word.Application();
                Word.Document doc=application.Documents.Open(filePath);
                doc.TrackRevisions = true;
                doc.Close(true);
                application.Quit();

    For more information about automating Word application, you could visit How to automate Microsoft Word to create a new document by using Visual C#

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by laJasmine Thursday, September 14, 2017 4:47 PM
    Thursday, September 14, 2017 2:54 AM
    Moderator