Sub Postopen(Source As Notesuidocument)
Source.EditMode = True
Call Source.GoToField("Body")
If source.IsNewDoc Then
Set Cal = Source.CreateObject _
("Calendar", _
"MSCAL.Calendar.7")
Else
Set Cal = Source.GetObject _
("Calendar")
End If
Cal.FirstDay = 2
End Sub
Sub Click(Source As Calendar)
Messagebox "You clicked on the following date: "_
& Source.Month &"/" & Source.Day &"/"_
& Source.Year
End Sub