Subject to some possible error handling, this might get you on track:
Sub OnExitTxt20()
Dim dtg1 As Date
Dim dtg2 As Date
Dim oBMs As Bookmarks
Dim dtgDiff As Long
Set oBMs = ActiveDocument.Bookmarks
dtg1 = oBMs("Text19").Range.FormFields(1).Result
dtg2 = oBMs("Text20").Range.FormFields(1).Result
If IsDate(dtg1) And IsDate(dtg2) Then
dtgDiff = CLng(DateDiff("d", dtg1, dtg2))
End If
If dtgDiff > 3 Then
'Fire your UserForm
End If
End Sub
> I would like to create an If statement in a macro to subtract one date from
> another date located on my form and if the result is greater then 3, a
[quoted text clipped - 5 lines]
>
> Thanks.