Please Help Me Fix This Code
Private Sub Command52_Click()
DoCmd.SendObject acSendReport, "Inventory", acFormatPDF, "
xxx@gmail.com", , , "Inventory Ledger " & Date, "Attached please find the Inventory Ledger"
DoCmd.SendObject acSendReport, "General Purchase", acFormatPDF, "
xxx@gmail.com", , , "Selected Titles Purchase Ledger " & Date, "Attached please find the Selected Account Titles Purchase Ledger"
DoCmd.SendObject acSendReport, "General Sales", acFormatPDF, "
xxx@gmail.com", , , "Selected Customer Sales Ledger " & Date, "Attached please find the Selected Customer Sales Ledger"
DoCmd.SendObject acSendReport, "Employees Salery Ledger", acFormatPDF, "
xxx@gmail.com", , , "Selected Employees Salery Ledger " & Date, "Attached please find the Selected Employees Salery Ledger"
DoCmd.SendObject acSendReport, "Pettycash Detail", acFormatPDF, "
xxx@gmail.com", , , "Petty Cash Selected User's Detail " & Date, "Attached please find the Selected Petty Cash Selected User's Detail"
DoCmd.SendObject acSendReport, "Inventory", acFormatPDF, "
xxx@gmail.com", , , "Inventory Ledger " & Date, "Attached please find the Inventory Ledger"
End Sub