Can I accept all changes within a Selection range?

E

Ed

Is there any way, either in code or by a Reviewing function I don't know
about, to select a certain portion of the document and accept or reject all
changes in just the selected range?

Ed
 
D

Dave Lett

Yes. You can use something like the following:

Selection.Range.Revisions.AcceptAll

---OR---


ActiveDocument.Sections(2).Range.Revisions.AcceptAll

HTH,
Dave
 
E

Ed

Thank you, Dave.

Dave Lett said:
Yes. You can use something like the following:

Selection.Range.Revisions.AcceptAll

---OR---


ActiveDocument.Sections(2).Range.Revisions.AcceptAll

HTH,
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top