Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-06-2018, 04:57 PM
Peterson Peterson is offline Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu Windows 10 Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu Office 2016
Competent Performer
Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu
 
Join Date: Jan 2017
Posts: 143
Peterson is on a distinguished road
Default Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu

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
Attached Files
File Type: docx Test Doc.docx (36.6 KB, 10 views)
File Type: docx Test Doc 4 - based on default template.docx (12.7 KB, 10 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu Having Revision Bars Persist after Accepting Changes gocuse Word 3 08-20-2017 10:47 PM
Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu WORD not accepting .png file Fr. Jonathan Drawing and Graphics 1 07-26-2017 08:24 PM
Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu Track Changes Automatically Accepting Changes after Closing and Re-Opening Document cnethercott Word 1 01-16-2017 03:21 AM
Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu Accepting changes with TC deletes undeleted narrative jklein Word 4 10-02-2016 06:09 PM
Accepting track changes via macro skips last paragraph mark, but not when accepting via Review menu Leaving change indicators after accepting changes jpbledsoe Word 2 08-14-2006 07:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft