Document.Revisions property (Word)
Returns a Revisions collection that represents the tracked changes in the document or range. Read-only.
Syntax
expression. Revisions
expression A variable that represents a Document object.
Remarks
For information about returning a single member of a collection, see Returning an object from a collection.
Example
This example displays the number of tracked changes in the first section in the active document.
MsgBox ActiveDocument.Sections(1).Range.Revisions.Count
This example accepts all tracked changes in the first paragraph in the selection.
Set myRange = Selection.Paragraphs(1).Range
myRange.Revisions.AcceptAll
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin