Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I have a button on my form that sends & attaches a report to an email.
DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]
DoCmd.SendObject acSendTable, "Employees", acFormatXLS, _
"[b]Nancy Davolio; Andrew Fuller[/b]", "Joan Weber", , _
"Current Spreadsheet of Employees", , False
Dim datDatetime As Date
Dim strSQL As String
datDatetime = Now
strSQL = "INSERT INTO tblEmail(SendTo, SendTime) "
strSQL = strSQL & "VALUES('" & strSendTo & "', "
strSQL = strSQL & "#" & datDateTime & "#)"
DoCmd.RunSQL strSQL