Cycling through the Revisions collection of the Document:   Return to List

Public Sub TestCollection()
    Dim lngRevisions As Long
    lngRevisions = 0
    Count = 0
    Dim myRevision As Revision
    For Each myRevision In ActiveDocument.Revisions
        myRevision.Range.Select
        lngRevisions = lngRevisions + Len(Selection.Text)
        Count = Count + 1
    Next
    MsgBox "There were" & Str(Count) & " revisions for a total length of " & Str(lngRevisions)
End Sub

See also:
Character right (moving 1 char to the right)
Cycling thru Paragraphs and other collections
Extending Selection 1 character to the right
Extending Selection 1 word to the right
Extending Selection Down 1 Line
Extending Selection to the End of the Line
Extending Selection to the End of the Paragraph
Extending Selection to the Start of the Line
Going to a particular table (tables Goto command)
Moving Cursor to the End of the Document
Moving cursor down 1 line
Moving cursor down 1 paragraph
Moving cursor to end of paragraph
Moving cursor to end of selection (variations)
Moving cursor to start of selection (variations)
Moving cursor to the end of the line
Repositioning cursor (and text) to middle of screen
Start of Document (relocating cursor to top)
Start of Line (relocates cursor)



Note to Webmaster