Output form to html file
Sub OutputToDAP() DoCmd.OutputTo acOutputForm, "frmComplaints", acFormatDAP, "c:\P.html" End Sub