Assuming you have a date due field in your table (dteDue), you could use
Private Sub cmdSendEmail_Click()
dim emailtitle, mainbodytext as string
if DteDue = Date() then
emailtitle = "This is the title"
mainbodytext = "Bla bla bla"
DoCmd.SendObject , , , , , , EmailTitle, MainBodyText, 0
else
msgbox "not yet due"
endif
Ian Mayor (UK)
Program Error
Your lack of planning is not my emergency!