Dim doc As NotesDocument
Dim accessDate As Variant
'...set value of doc...
accessDate = doc.LastAccessed
Dim doc As NotesDocument
'...set value of doc...
If ( Cint( Date - doc.LastAccessed ) > 3 ) Then
doc.Status = "Stalled"
Call doc.Save( True, True )
End If