• Problem Accepting Changes (W2000 SR-1)

    Author
    Topic
    #390873

    I’m trying to make a macro that loops through a batch of documents and accepts all the changes in those documents. It works OK except for one thing–it won’t accept changes at the end of the document. I’ve tried several tweaks, including selecting the whole document, moving the cursor to the end of the document, accepting changes more than once, but nothing works. I can manually accept those changes, but using a macro won’t work.

    Thanks,
    Bob

    Viewing 0 reply threads
    Author
    Replies
    • #696264

      What is the code you are using? If you post your code, we should be able to sort out the issue.

      • #696381

        Here is the processing code that is applied to every document in the loop:

        ActiveDocument.TrackRevisions = False
        ActiveDocument.AcceptAllRevisions

        Thanks,
        Bob

        • #696462

          Hi Bob,

          Seems to work fine for me… except if I have deleted an empty paragraph at the very end of the doc, that paragraph isn’t deleted.
          But the final paragraph mark isn’t deleted when I accept the changes manually, either.

          If there is something else going wrong, perhaps you could post a short doc that demonstrates the problem?

          cheers Klaus

          • #696786

            Klaus, that’s the exact kind of edit that I’m having problems with–the deletion of the last paragraph marker in a document. Isn’t there supposed to be something unique about that last paragraph marker? Something about it containing all the formatting for the document? I wonder if Word has some kind of natural defense coded into it.

            Bob

            • #697279

              Yes, that’s what I heard, too (section and document specific markup is stored in the final paragraph mark, and that is what is causing the problems).

              Though it seems to me that Word could be “cleverer” about it. After all, if you delete the final, empty paragraph, there is still a paragraph at the end of the document.

              Paragraph marks right before a table are hard to delete/replace, too, and might make problems with Trach Changes also.

              cheers Klaus

    Viewing 0 reply threads
    Reply To: Problem Accepting Changes (W2000 SR-1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: