Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub DetectParaRevision()
Dim myRev As Revision
Dim r As Range
Selection.Expand unit:=wdParagraph
Set r = Selection.Range
On Error GoTo NotRevised
Set myRev = r.Revisions.Item(1)
If Not (myRev Is Nothing) Then
Select Case myRev.Type
Case 1
MsgBox "Inserted"
Case 2
MsgBox "Deleted"
Case 3
MsgBox "Formatted"
Case Else
MsgBox "Huh?"
End Select
End If
Set r = Nothing
Selection.Collapse Direction:=wdCollapseStart
Exit Sub
NotRevised:
Set r = Nothing
Selection.Collapse Direction:=wdCollapseStart
MsgBox "Selection point is not in a revised selection or paragraph."
End Sub