I periodically see documents, all with track changes turned on, that have styles applied to the final paragraph mark, shown as revisions. When I click
Review > Accept > Accept All Changes, the formatting change associated with the last paragraph in the document is accepted; however, when I run a macro to achieve the same thing, the revision remains. (All other revisions in the document are accepted.)
Code:
Sub WhyIsntThisDoingTheSameThingAsViaTheReviewMenu()
ActiveDocument.AcceptAllRevisions
End Sub
I tested three files, all based on different templates (one of which is based on a "pure," default Word template). Two of the three files (attached) failed to have these last-paragraph revisions cleared when running the macro. Why does the macro not work on the last paragraph mark, or, put another way, how can I force it to work on that final mark?
Thanks