They are consistent. Here's an example:
29-Sep-06
Hi Alan,
like this:
Sub autoopen()
Dim sTmp As String
Dim rDcm As Range
Set rDcm = ActiveDocument.Range
sTmp = Format(Date, "DD-MMM-YY")
With rDcm.Find
.Text = sTmp
If .Execute Then
rDcm.HighlightColorIndex = wdYellow
rDcm.Select
selection.Collapse
else
Msgbox "date of today not found"
End If
End With
End Sub
Insert a module in the project
with the name of your doc.
Insert the code in that module.
HTH

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
adgorn - 30 Sep 2006 20:07 GMT
It worked perfectly!
Danke für Deine Hilfe!

Signature
Alan
> Hi Alan,
>
[quoted text clipped - 22 lines]
>
> HTH