none
How to Get Accepted and Rejected Text in Microsoft Word Asp.net c# RRS feed

  • Question

  • Hi.

    I have enabled track changes in my word document . After making changes i have accepted/Rejected the changes.

    After completing the process(Accept/Reject) I need to find to find out which text is accepted and which text is rejected.

    Kindly suggest  how to achieve this.

    R. Ravikumar

    Monday, August 21, 2017 5:00 AM

Answers

  • After you have accepted/rejected changes, the document discards the alternate data; hence Word can no longer tell you from the document itself what was accepted/rejected. The only way to do that would be to compare the updated document with its predecessor.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    Monday, August 21, 2017 5:11 AM

All replies

  • After you have accepted/rejected changes, the document discards the alternate data; hence Word can no longer tell you from the document itself what was accepted/rejected. The only way to do that would be to compare the updated document with its predecessor.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    Monday, August 21, 2017 5:11 AM
  • Thanks for your reply...

    Monday, August 21, 2017 5:41 AM
  • Hello Ravi,

    How to Get Accepted and Rejected Text in Microsoft Word Asp.net c#

    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

    If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution. Read more about that in the Considerations for server-side Automation of Office article. 

    As a workaround you may consider using the Open XML SDK, see Welcome to the Open XML SDK 2.5 for Office for more information. Or just use any third-party components designed for the server-side execution. 


    profile for Eugene Astafiev at Stack Overflow, Q&A for professional and enthusiast programmers

    Wednesday, August 23, 2017 12:26 PM