DoCmd.SendObject acQuery, stDocName, "MicrosoftExcelBiff5(*.xls)", "C:\TEMP\Misc.xls", "", "", "Query in XL Format", "This is the Body Text", False, ""
thank you for your reply
but i want that the user enters the email address
in this link i found how to create a new message
but i don't know how to use it with creating the excel file and put this excel file in attachment, do you know this?
can you help us please?